Answer the question
In order to leave comments, you need to log in
Export App in Vite?
In Vue I did something like this:
const app =
createApp(App)
.use(store)
.use(router)
.use(plugin1)
.use(plugin2)
.mount('#app')
export default app
Answer the question
In order to leave comments, you need to log in
Through Window it seems to work:
const app =
const app = createApp(App)
.use(store)
.use(router)
.use(plugin1)
.use(plugin2)
.mount('#app')
window.app = app
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question