mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 07:19:26 +00:00
Update to main.js to wait for the router to be ready.
This commit is contained in:
parent
401eb0b905
commit
7da4cf0ad1
1 changed files with 4 additions and 2 deletions
|
|
@ -31,7 +31,9 @@ import router from '@/router'
|
|||
|
||||
const app = createApp(App)
|
||||
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
app.use(createPinia())
|
||||
|
||||
router.isReady().then(() => {
|
||||
app.mount('#app')
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue