We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
window.__VITEPRESS__
1 parent 90eab25 commit f6bd99eCopy full SHA for f6bd99e
src/client/app/index.ts
@@ -64,6 +64,8 @@ const VitePressApp = defineComponent({
64
})
65
66
export async function createApp() {
67
+ ;(globalThis as any).__VITEPRESS__ = true
68
+
69
const router = newRouter()
70
71
const app = newApp()
0 commit comments