diff --git a/README.md b/README.md index 93b0bf4..629bd4e 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ npm i npm run dev ``` -运行完成后,就可以访问[http://localhost:8008/](http://localhost:8008/)预览效果了. +运行完成后,就可以访问[http://localhost:9818/](http://localhost:9818/)预览效果了. ## 使用介绍 diff --git a/package-lock.json b/package-lock.json index c7e1d6d..092885a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1172,6 +1172,11 @@ "resolved": "https://rg.cnpmjs.org/@element-plus/icons/download/@element-plus/icons-0.0.11.tgz", "integrity": "sha1-mxh8ACd0VIuRGFDRf6X8L5pRX1c=" }, + "@element-plus/icons-vue": { + "version": "0.2.6", + "resolved": "https://r.cnpmjs.org/@element-plus/icons-vue/-/icons-vue-0.2.6.tgz", + "integrity": "sha512-2gg7VCq4d2firgl7/aVym4Cx/wqKFwKybEQGJiiWJN4urW36+QdAEG1knqSD9qidbjhVp0Jnc9XdSTR1/4Whzw==" + }, "@hapi/address": { "version": "2.1.4", "resolved": "https://r.cnpmjs.org/@hapi/address/download/@hapi/address-2.1.4.tgz", diff --git a/package.json b/package.json index 48f3e34..6ea91f5 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,10 @@ ], "main": "./dist/vcc.umd.min.js", "scripts": { - "dev": "vite --port 8008", - "serve": "vite --port 8008", + "dev": "vite --port 9818", + "serve": "vite --port 9818", "build:release": "vite build --base=https://static.imonkey.xueersi.com/vcc3/", - "build": "vue-cli-service build --report --target lib --name vcc './src/components-v2/VCC.vue' && node ./src/script/distClear.js", + "build": "vue-cli-service build --report --target lib --name vcc './src/components-v2/VCC.vue'", "build:win": "vue-cli-service build --report --target lib --name vcc ./src/components-v2/VCC.vue && node ./src/script/distClear.js", "compileAndbuild:dev": "npm run compileComponent && vue-cli-service build", "lint": "vue-cli-service lint", @@ -22,7 +22,7 @@ "debugParser": "node ./src/test/parserJsCode.js" }, "dependencies": { - "@element-plus/icons": "0.0.11", + "@element-plus/icons-vue": "^0.2.6", "@vitejs/plugin-vue": "^1.10.0", "@vue/compiler-sfc": "^3.2.22", "ant-design-vue": "^3.0.0-alpha.14", diff --git a/src/App.vue b/src/App.vue index 0175597..64854d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@ - +} diff --git a/src/rawComponents/vant/layout.vue b/src/rawComponents/vant/layout.vue index c4e9789..953e128 100644 --- a/src/rawComponents/vant/layout.vue +++ b/src/rawComponents/vant/layout.vue @@ -1,66 +1,63 @@ +