deepchart后台管理系统
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.

26 lines
662 B

2 months ago
2 months ago
2 months ago
2 months ago
  1. import { createApp } from 'vue'
  2. import { createPinia } from 'pinia'
  3. import App from './App.vue'
  4. import router from './router'
  5. // 导入 Element Plus 样式和组件
  6. import ElementPlus from 'element-plus'
  7. // 导入 Element Plus 图标
  8. import * as ElementPlusIconsVue from '@element-plus/icons-vue'
  9. // 全局中文
  10. import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
  11. import 'element-plus/dist/index.css'
  12. import 'normalize.css';
  13. const app = createApp(App)
  14. for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  15. app.component(key, component)
  16. }
  17. app.use(ElementPlus, {
  18. locale: zhCn,
  19. })
  20. app.use(createPinia())
  21. app.use(router)
  22. app.mount('#app')