fix: 修改element版本号

This commit is contained in:
NICE CODE BY DEV 2023-04-10 20:16:57 +08:00
parent 5f20cb4093
commit 84dfc1f0c3
5 changed files with 5 additions and 10 deletions

View File

@ -6,7 +6,7 @@
//
"editor.accessibilitySupport": "off",
//
"editor.cursorSmoothCaretAnimation": true,
"editor.cursorSmoothCaretAnimation": "on",
"editor.find.addExtraSpaceOnTop": false,
//
"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss06', 'zero'",

View File

@ -32,3 +32,5 @@ yarn lint
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
如果报错将node版本降低到16以下

View File

@ -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"

View File

@ -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");

View File

@ -1,6 +1,5 @@
<template>
<div class="about">
<h1>This is an about page</h1>
<el-button type="primary">知道啦</el-button>
</div>
</template>