| | |
| | | import { router } from './router'; |
| | | import App from './App.vue'; |
| | | import timeUtil from './utils/time-util'; |
| | | import { initSocketClient } from '@/socket/index.js' |
| | | |
| | | // import 'element-plus/dist/index.css'; |
| | | import './assets/main.css'; |
| | |
| | | import 'element-plus/theme-chalk/src/message-box.scss'; |
| | | import 'element-plus/theme-chalk/src/notification.scss'; |
| | | |
| | | // dayjs plugin |
| | | import dayjs from 'dayjs'; |
| | | import isSameOrAfter from 'dayjs/plugin/isSameOrAfter'; |
| | | import isSameOrBefore from 'dayjs/plugin/isSameOrBefore'; |
| | | |
| | | // socket客户端 |
| | | initSocketClient() |
| | | |
| | | dayjs.extend(isSameOrAfter); |
| | | dayjs.extend(isSameOrBefore); |
| | | |
| | | const app = createApp(App); |
| | | |
| | | app.config.globalProperties.$fm = timeUtil; |