main.ts
const app = createApp(App)
.use(router)
.use(createPinia())
.use(vuetify)
.use(vue3GoogleLogin, googleLogin)
const globalProps = app.config.globalProperties;
globalProps.isDebugMode = true;
vue-shim
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$isDebugMode: true;
}
}
I was expecting this.$isDebugMode to be true. However, it appears that this.$isDebugMode is undefined.