feat: 添加头像信息封装
This commit is contained in:
@@ -6,13 +6,15 @@ import router from './router'
|
||||
|
||||
import './assets/main.css'
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
|
||||
import directive from './directive' // directive
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
app.component(key, component)
|
||||
}
|
||||
|
||||
app.use(createPinia())
|
||||
directive(app);
|
||||
app.use(router)
|
||||
app.mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user