diff --git a/src/client/app/index.ts b/src/client/app/index.ts index 57cfe15a..911760a1 100644 --- a/src/client/app/index.ts +++ b/src/client/app/index.ts @@ -64,6 +64,8 @@ const VitePressApp = defineComponent({ }) export async function createApp() { + ;(globalThis as any).__VITEPRESS__ = true + const router = newRouter() const app = newApp()