2023-05-17 12:26:16 +00:00
|
|
|
export default defineNuxtPlugin(() => {
|
|
|
|
// this should be undefined
|
|
|
|
const vueApp = getCurrentInstance()
|
|
|
|
return {
|
|
|
|
provide: {
|
2024-04-05 18:08:32 +00:00
|
|
|
wasVueAppInstanceWronglyPreserved: !!vueApp,
|
|
|
|
},
|
2023-05-17 12:26:16 +00:00
|
|
|
}
|
|
|
|
})
|