全局注册icon组件
This commit is contained in:
@@ -6,6 +6,8 @@ import router from './router'
|
||||
import store from './stores/index'
|
||||
import 'normalize.css/normalize.css'
|
||||
import './assets/css/style.css'
|
||||
import SvgIcon from "@/component/SvgIcon/index.vue";
|
||||
|
||||
|
||||
import flexible from "./utils/flexible.js";
|
||||
|
||||
@@ -27,6 +29,8 @@ const app = createApp(App)
|
||||
// app.use(ElementPlus)
|
||||
app.use(router)
|
||||
app.use(store)
|
||||
app.component("SvgIcon", SvgIcon)
|
||||
|
||||
flexible();
|
||||
|
||||
app.mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user