Commit 136548f2 by qianmo

fix:icon

parent dd14a1ab
......@@ -10,6 +10,7 @@
"html": "node handleHTML.js"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@vitejs/plugin-legacy": "^4.1.1",
"axios": "^1.4.0",
"element-plus": "^2.3.9",
......
......@@ -7,10 +7,15 @@ import { createPinia } from 'pinia'
import 'element-plus/dist/index.css'
import router from './router'
import 'virtual:uno.css'
import * as Icons from '@element-plus/icons-vue'
const pinia = createPinia()
const app = createApp(App)
for (let i in Icons){
app.component(i, Icons[i])
}
app.use(pinia)
app.use(router)
app.use(ElementPlus)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment