fix: build error top level await
This commit is contained in:
parent
6e0b3e378a
commit
90fb775509
1 changed files with 19 additions and 19 deletions
|
|
@ -10,25 +10,25 @@ import quasarUserOptions from './quasar-user-options'
|
|||
import 'quasar/src/css/index.sass'
|
||||
import { login } from './services/KeyCloakService'
|
||||
|
||||
await login()
|
||||
login().then(async () => {
|
||||
const app = createApp(App)
|
||||
const pinia = createPinia()
|
||||
|
||||
const app = createApp(App)
|
||||
const pinia = createPinia()
|
||||
app.use((await import('./router')).default)
|
||||
app.use(pinia)
|
||||
app.use(Quasar, {
|
||||
...quasarUserOptions,
|
||||
plugins: {
|
||||
Dialog,
|
||||
Loading,
|
||||
},
|
||||
lang: th,
|
||||
})
|
||||
|
||||
app.use((await import('./router')).default)
|
||||
app.use(pinia)
|
||||
app.use(Quasar, {
|
||||
...quasarUserOptions,
|
||||
plugins: {
|
||||
Dialog,
|
||||
Loading,
|
||||
},
|
||||
lang: th,
|
||||
app.component(
|
||||
'full-loader',
|
||||
defineAsyncComponent(() => import('@/components/FullLoader.vue')),
|
||||
)
|
||||
|
||||
app.mount('#app')
|
||||
})
|
||||
|
||||
app.component(
|
||||
'full-loader',
|
||||
defineAsyncComponent(() => import('@/components/FullLoader.vue')),
|
||||
)
|
||||
|
||||
app.mount('#app')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue