12 lines
364 B
TypeScript
12 lines
364 B
TypeScript
import { createApp } from 'vue';
|
|
import App from '@/App.vue';
|
|
import '@/registerServiceWorker';
|
|
import '@element-plus/theme-chalk/dist/index.css';
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
|
|
|
|
const app = createApp(App);
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component);
|
|
}
|
|
app.mount('#app');
|