\r\n\u003C/CodeRunner>\r\n\r\n:::\r\n```\r\n\r\nThe expected rendering result is\r\n\r\n\r\n\r\nThe result of rendering in vitepress is\r\n\r\n\r\n\r\nCauses disabled styles to be lost\n\n### Reproduction\n\nThe component reference address that caused the problem\r\n https://view-shadcn-ui.devlive.org/components/form/input.html#disabled\r\n \r\n\n\n### Expected behavior\n\nNone\n\n### System Info\n\n```Text\nNone\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],4447,"vitepress will cause component styles to be lost","2025-01-09T04:43:08Z","https://github.com/vuejs/vitepress/issues/4447",0.7028562,{"description":3086,"labels":3087,"number":3088,"owner":3030,"repository":3031,"state":3063,"title":3089,"updated_at":3090,"url":3091,"score":3092}," It uses git to get that timestamp. Disable it if you don't want to install git.\r\n\r\n_Originally posted by @brc-dd in https://github.com/vuejs/vitepress/issues/2175#issuecomment-1491609952_\r\n \r\n\r\nI am run vitepress dev server in webcontainer , it's haven't git , where config can i disable git ?",[],3575,"How to disable git","2024-02-23T00:05:15Z","https://github.com/vuejs/vitepress/issues/3575",0.7048289,{"description":3094,"labels":3095,"number":3096,"owner":3030,"repository":3031,"state":3063,"title":3097,"updated_at":3098,"url":3099,"score":3100},"### Is your feature request related to a problem? Please describe.\r\n\r\n许多第三方库会在导入时的顶层代码中访问 `window` 或者 `document`\r\n我不可能在第三库的源码中加上条件判断,这是不切实际的。\r\n\r\n假设有一个Vue插件模块名字就叫 \"a-vue-plugin\",并且假设它提供了大量有用的Vue组件或者实用功能。\r\n```typescript\r\nwindow.ABC = 123 // 这个模块在代码顶层就访问里 window\r\n\r\nconst plugin = {\r\n // ...\r\n}\r\n\r\nexport default plugin\r\n```\r\n\r\ndocs/.vitepress/theme/index.ts\r\n```typescript\r\n// ...\r\nimport { plugin } from 'a-vue-plugin''\r\n\r\nexport default define\u003CTheme>({\r\n NotFound,\r\n Layout: VPApp,\r\n enhanceApp: ({ app }) => {\r\n // 这样写显然是无济于事的,因为在执行 import { plugin } from 'a-vue-plugin' 时就已经访问到 window 了 \r\n if (!import.meta.env.SSR) {\r\n app.use(plugin) // 这里需要使用这个插件\r\n }\r\n },\r\n})\r\n```\r\n最终抛出错误\r\n```\r\n⠋ rendering pages...ReferenceError: window is not defined\r\n```\r\n\r\n### Describe the solution you'd like\r\n\r\n目前缺少完全合理的解决方案,请求官方针对此问题提供标准的解决方案或者规避方案。\r\n\r\n### Describe alternatives you've considered\r\n\r\n这是一个可能的解决方案,但需要 enhanceApp 支持异步才行。\r\n```typescript\r\nexport default define\u003CTheme>({\r\n NotFound,\r\n Layout: VPApp,\r\n enhanceApp: async ({ app }) => {\r\n if (!import.meta.env.SSR) {\r\n const plugin = (await import('a-vue-plugin')).default\r\n app.use(plugin)\r\n }\r\n },\r\n})\r\n```\r\n\r\n### Additional context\r\n\r\n类似的问题 [#](https://github.com/vuejs/vitepress/issues/1727#issue-1507239476)\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],1884,"如何针对静态导入跳过SSR?","2023-03-23T00:04:27Z","https://github.com/vuejs/vitepress/issues/1884",0.7108819,{"description":3102,"labels":3103,"number":3105,"owner":3030,"repository":3031,"state":3063,"title":3106,"updated_at":3107,"url":3108,"score":3109},"### Describe the bug\n\n\r\n\r\nError:Attempting to define property on object that is not extensible.\r\n\r\n\u003Cimg width=\"1073\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/44830818/cfe2bb18-d737-4eb4-8b38-62a06be8644f\">\r\n\r\n\r\n\n\n### Reproduction\n\n1. access [website](https://vitepress.dev/guide/what-is-vitepress) using an iOS 17 device\r\n2. click menu button.\r\n3. sometimes this issue may occur.\r\n\r\n\r\n\r\n\r\n\n\n### Expected behavior\n\nnormal function.\n\n### System Info\n\n```sh\niphone 12\r\nios 17.0\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3104],{"name":3050,"color":3051},2577,"The menu button click is abnormal, only the overlay appears, and there is no menu items.","2023-07-17T00:04:56Z","https://github.com/vuejs/vitepress/issues/2577",0.71232593,{"description":3111,"labels":3112,"number":3116,"owner":3030,"repository":3031,"state":3063,"title":3117,"updated_at":3118,"url":3119,"score":3120},"I have some markdown source code from a server, how can I mix it with the local markdown file for rendering?\r\nPlease tell me, what should I do? Thank you.\r\n\r\ninput:\r\n```md\r\n\u003Cscript setup>\r\nconst subTitle = \"## Second Title\";\r\n\u003C/script>\r\n\r\n# App Title\r\n\r\n{{ subTitle }}\r\n```\r\noutput:\r\n```html\r\n\u003Ch1>App Title\u003C/h1>\r\n\u003Ch2>Second Ttitle\u003C/h2>\r\n```",[3113],{"name":3114,"color":3115},"question","5D5FAE",3973,"I want to use mixed rendering of Markdown files and strings, how should I do it?","2024-06-29T04:41:45Z","https://github.com/vuejs/vitepress/issues/3973",0.712719,["Reactive",3122],{},["Set"],["ShallowReactive",3125],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fuYCtqPXJrb3iZ2UsMd4HIPdWYOHMrbyHTOP2BLdSx-Q":-1},"/vuejs/vitepress/3080"]