| | |
| | | import { createApp } from 'vue' |
| | | import { createPinia } from 'pinia' |
| | | import * as ElementPlusIconsVue from '@element-plus/icons-vue' |
| | | import 'element-plus/theme-chalk/src/dark/css-vars.scss' |
| | | |
| | | import 'element-plus/theme-chalk/src/overlay.scss'; |
| | | import 'element-plus/theme-chalk/src/message.scss'; |
| | | import 'element-plus/theme-chalk/src/message-box.scss'; |
| | | import 'element-plus/theme-chalk/src/notification.scss'; |
| | | |
| | | import App from './App.vue' |
| | | import router from './router' |
| | | import timeUtil from './utils/time-util' |
| | | |
| | | const app = createApp(App) |
| | | |
| | | app.config.globalProperties.$fm = timeUtil |
| | | |
| | | // elementUI Icon 注册 |
| | | for (const [key, component] of Object.entries(ElementPlusIconsVue)) { |
| | | app.component(key, component) |