非网数据统计前端
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.

21 lines
456 B

  1. import { createApp } from 'vue'
  2. import App from './App.vue'
  3. import router from './routes/index.js'
  4. import ElementPlus from 'element-plus'
  5. import 'element-plus/dist/index.css'
  6. import * as ElementPlusIconsVue from '@element-plus/icons-vue'
  7. const app = createApp(App);
  8. app.use(ElementPlus)
  9. // 注册所有图标
  10. for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  11. app.component(key, component)
  12. }
  13. app.use(router)
  14. app.mount('#app')