自动导入element-plug

This commit is contained in:
2024-09-01 15:49:10 +08:00
parent 1709552ed4
commit 7e30cef008
3 changed files with 25 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
import './assets/main.css'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
@@ -10,6 +9,5 @@ import router from './router'
const app = createApp(App)
app.use(router)
app.use(ElementPlus)
app.mount('#app')