| | |
| | | // 导入全局的svg图标 |
| | | import '@/plugins/svgIcon' |
| | | |
| | | import Iconify from '@iconify/iconify' |
| | | import epJson from '@iconify/json/json/ep.json' |
| | | import faJson from '@iconify/json/json/fa.json' |
| | | import faSolidJson from '@iconify/json/json/fa-solid.json' |
| | | |
| | | Iconify.addCollection(epJson) |
| | | Iconify.addCollection(faJson) |
| | | Iconify.addCollection(faSolidJson) |
| | | |
| | | export * from '@iconify/iconify' |
| | | |
| | | export default Iconify |
| | | |
| | | // 初始化多语言 |
| | | import { setupI18n } from '@/plugins/vueI18n' |
| | | |
| | |
| | | import router, { setupRouter } from '@/router' |
| | | |
| | | // 权限 |
| | | import { setupAuth } from '@/directives' |
| | | import { setupAuth, setupMountedFocus } from '@/directives' |
| | | |
| | | import { createApp } from 'vue' |
| | | |
| | |
| | | |
| | | setupAuth(app) |
| | | |
| | | setupMountedFocus(app) |
| | | |
| | | await router.isReady() |
| | | |
| | | app.use(VueDOMPurifyHTML) |