You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
307 B
14 lines
307 B
1 year ago
|
import { createApp } from 'vue'
|
||
|
import './style.css'
|
||
|
import App from './App.vue'
|
||
|
import ElementPlus from 'element-plus'
|
||
|
import * as ELIcons from '@element-plus/icons-vue'
|
||
|
|
||
|
const app = createApp(App)
|
||
|
|
||
|
for (const name in ELIcons){
|
||
|
app.component(name, ELIcons[name]);
|
||
|
}
|
||
|
|
||
|
app.use(ElementPlus).mount('#app')
|