This commit is contained in:
@ -23,14 +23,15 @@ async function init() {
|
||||
});
|
||||
}
|
||||
|
||||
createApp(App)
|
||||
const app = createApp(App)
|
||||
.use(createHead())
|
||||
.use(createPinia())
|
||||
// Register the plugin before the router
|
||||
.use(DataLoaderPlugin, { router })
|
||||
// adding the router will trigger the initial navigation
|
||||
.use(router)
|
||||
.mount('#app');
|
||||
.use(router);
|
||||
app.config.globalProperties.$__DEV__ = $__DEV__;
|
||||
app.mount('#app');
|
||||
}
|
||||
|
||||
init();
|
||||
|
Reference in New Issue
Block a user