diff --git a/.vscode/settings.json b/.vscode/settings.json index b25e29f..ecb8ac6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,7 @@ // 控制编辑器是否应在对屏幕阅读器进行了优化的模式下运行。设置为“开”将禁用自动换行。 "editor.accessibilitySupport": "off", // 控制是否启用平滑插入动画 - "editor.cursorSmoothCaretAnimation": true, + "editor.cursorSmoothCaretAnimation": "on", "editor.find.addExtraSpaceOnTop": false, // 这个控制是否启用字体连字 "editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss06', 'zero'", diff --git a/README.md b/README.md index 117681c..ad7913a 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,5 @@ yarn lint ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). + +如果报错,将node版本降低到16以下 \ No newline at end of file diff --git a/package.json b/package.json index 477898b..fd8f839 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,9 @@ }, "dependencies": { "core-js": "^3.6.5", - "element-plus": "^2.2.12", "register-service-worker": "^1.7.1", "vue": "^3.0.0", + "element-plus": "2.1.7", "vue-class-component": "^8.0.0-0", "vue-router": "^4.0.0-0", "vuex": "^4.0.0-0" diff --git a/src/main.ts b/src/main.ts index a1ac107..7284570 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,13 +1,7 @@ import { createApp } from "vue"; -import ElementPlus from 'element-plus' -import 'element-plus/dist/index.css' import App from "./App.vue"; import "./registerServiceWorker"; import router from "./router"; import store from "./store"; -createApp(App) - .use(store) - .use(router) - .use(ElementPlus) - .mount("#app"); +createApp(App).use(store).use(router).mount("#app"); diff --git a/src/views/About.vue b/src/views/About.vue index 5223ae1..3fa2807 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -1,6 +1,5 @@