feat: add `window.__VITEPRESS__` (#3634)

pull/3637/head
Lo 10 months ago committed by GitHub
parent 90eab25b70
commit f6bd99eb13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -64,6 +64,8 @@ const VitePressApp = defineComponent({
})
export async function createApp() {
;(globalThis as any).__VITEPRESS__ = true
const router = newRouter()
const app = newApp()

Loading…
Cancel
Save