| | |
| | | import { registerLocalIconCollections } from './plugins/iconify' |
| | | import { setupErrorHandle } from './utils/sys/error-handle' |
| | | document.addEventListener('touchstart', function () {}, { passive: false }) |
| | | registerLocalIconCollections() |
| | | const app = createApp(App) |
| | | |
| | | initStore(app) |
| | | initRouter(app) |
| | | setupGlobDirectives(app) |
| | | setupErrorHandle(app) |
| | | app.use(language) |
| | | app.mount('#app') |
| | | async function bootstrap() { |
| | | await registerLocalIconCollections() |
| | | |
| | | const app = createApp(App) |
| | | |
| | | initStore(app) |
| | | initRouter(app) |
| | | setupGlobDirectives(app) |
| | | setupErrorHandle(app) |
| | | app.use(language) |
| | | app.mount('#app') |
| | | } |
| | | |
| | | void bootstrap() |