Update to main.js to wait for the router to be ready.

This commit is contained in:
JaxxMoss 2025-05-16 14:45:28 +02:00
parent 401eb0b905
commit 7da4cf0ad1

View file

@ -31,7 +31,9 @@ import router from '@/router'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(createPinia())
app.mount('#app')
router.isReady().then(() => {
app.mount('#app')
})