\r\n2. 配置文件如下所示:\u003Cbr /> \n\n### Expected behavior\n\n使用 Github 自带的 https://xihuanxiaorang.github.io/docs/ 访问就没有任何问题,如果是使用自定义域名 https://docs.xiaorang.fun/ 的话,样式就会丢失\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz\r\n Memory: 659.73 MB / 3.92 GB\r\n Binaries:\r\n Node: 20.11.0 - E:\\nodejs\\node.EXE\r\n Yarn: 1.22.21 - E:\\nodejs\\node_global\\yarn.CMD\r\n npm: 10.2.4 - E:\\nodejs\\npm.CMD\r\n pnpm: 8.14.3 - E:\\nodejs\\node_global\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (120.0.2210.144)\r\n Internet Explorer: 11.0.19041.3636\r\n npmPackages:\r\n vitepress: 1.0.0-rc.40 => 1.0.0-rc.40\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.",[2906],{"name":2907,"color":2908},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.69021094,{"description":2915,"labels":2916,"number":2920,"owner":2871,"repository":2872,"state":2873,"title":2921,"updated_at":2922,"url":2923,"score":2924},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nhttps://github.com/meedfine/server-fs-allow.git\r\ntest win10,win11, it happened\r\n\r\n1. pnpm run docs\r\n2. visit http://localhost:5173/\r\n3.close\r\n4. pnpm run docs\r\nthen will happen,or retry 3,4\r\n\r\n\r\nhttps://user-images.githubusercontent.com/35157761/201807046-c6e534ae-722a-4149-86f0-aab839296381.mp4\r\n\r\n\n\n### Expected behavior\n\nwork well\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (4) x64 Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz\r\n Memory: 9.72 GB / 15.87 GB\r\n Binaries:\r\n Node: 16.14.2 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 8.5.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 78.0.3904.108\r\n Edge: Spartan (44.19041.1266.0), Chromium (107.0.1418.42)\r\n Internet Explorer: 11.0.19041.1566\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2917],{"name":2918,"color":2919},"build","377ba8",1608,"mono+dev+enhanceApp+fs.server.strict: sometimes run error","2023-01-21T14:20:33Z","https://github.com/vuejs/vitepress/issues/1608",0.69056445,{"description":2926,"labels":2927,"number":2929,"owner":2871,"repository":2872,"state":2873,"title":2930,"updated_at":2931,"url":2932,"score":2933},"### Describe the bug\n\n\u003Cimg width=\"269\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/61684763/10622fbc-efb0-4dbd-a342-5c4e73ed04a0\">\r\n\u003Cimg width=\"1272\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/61684763/42577ef3-634d-459e-bf05-97ada3afef7b\">\r\n以前旧版本是没有这个问题的。升级后才有的。\n\n### Reproduction\n\n升级vitepress打包部署后出现的\n\n### Expected behavior\n\n望能修复正常\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.4.1\r\n CPU: (8) arm64 Apple M1\r\n Memory: 57.69 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.14.0/bin/yarn\r\n npm: 9.8.0 - ~/.nvm/versions/node/v16.14.0/bin/npm\r\n Watchman: 2023.03.27.00 - /opt/homebrew/bin/watchman\r\n Browsers:\r\n Chrome: 115.0.5790.170\r\n Safari: 16.5.2\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.",[2928],{"name":2868,"color":2869},2772,"升级vitepress后部署到阿里云服务器后,刷新页面会404","2023-08-18T00:04:13Z","https://github.com/vuejs/vitepress/issues/2772",0.69806284,{"description":2935,"labels":2936,"number":2938,"owner":2871,"repository":2872,"state":2873,"title":2939,"updated_at":2940,"url":2941,"score":2942},"### Describe the bug\r\n\r\nwhen i use code theme. include `light` and `dark` mode\r\nThe code block repeat render\r\n\r\n\u003Cimg width=\"793\" alt=\"image\" src=\"https://user-images.githubusercontent.com/40693636/198177946-e57e0594-5c23-4e78-96d3-5100b01f51e5.png\">\r\n\r\n\r\n### Reproduction\r\n\r\n```js\r\n// config.ts\r\nmarkdown: {\r\n headers: {\r\n level: [0, 0]\r\n },\r\n theme: {\r\n light: 'vitesse-light',\r\n dark: 'vitesse-dark'\r\n }\r\n },\r\n```\r\n\r\n### Expected behavior\r\n\r\nThe code block only render once\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 12.6\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 311.92 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 18.11.0 - /opt/homebrew/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 8.19.2 - /opt/homebrew/bin/npm\r\n Browsers:\r\n Chrome: 107.0.5304.62\r\n Safari: 15.6.1\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2937],{"name":2918,"color":2919},1545,"Code block repeat render !","2023-01-21T14:22:57Z","https://github.com/vuejs/vitepress/issues/1545",0.7009161,{"description":2944,"labels":2945,"number":2947,"owner":2871,"repository":2872,"state":2873,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Describe the bug\n\nany page which contains `process.env.NODE_ENV !== 'production'`, it will report 404 error\n\n### Reproduction\n\nstep 1: clone https://github.com/Alanscut/vitepress-demo\r\n\r\nstep 2: run the project\r\n\r\nstep 3: visit the page\r\n\r\n\n\n### Expected behavior\n\ncould visit the page normally, the page will show:\r\n\r\n\r\n\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz\r\n Memory: 7.05 GB / 15.90 GB\r\n Binaries:\r\n Node: 12.22.5 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.11 - E:\\npm\\repo\\yarn.CMD\r\n npm: 7.21.1 - ~\\node_modules\\.bin\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1023.0), Chromium (94.0.992.50)\r\n Internet Explorer: 11.0.19041.1202\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2946],{"name":2918,"color":2919},419,"pages contains `process.env.NODE_ENV !== 'production'` report 404 error","2023-01-21T14:32:51Z","https://github.com/vuejs/vitepress/issues/419",0.70275134,{"description":2953,"labels":2954,"number":2956,"owner":2871,"repository":2872,"state":2873,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-pzpqo8?file=docs%2F.vitepress%2Ftheme%2Fx.ts\r\n\r\n在 `theme/x.ts` 中引入了 `echarts` ,开发时是可以的,页面正常显示。构建时报错。\r\n\r\n\r\n\r\n**如果是一个纯 vite 项目,构建不错误**\n\n### Expected behavior\n\n正常编译不出错\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.4\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 48.46 MB / 32.00 GB\r\n Shell: 3.2.57 - /bin/bash\r\n Binaries:\r\n Node: 16.18.1 - ~/Library/Caches/fnm_multishells/19014_1691646234602/bin/node\r\n Yarn: 1.22.19 - ~/Library/pnpm/yarn\r\n npm: 8.19.2 - ~/Library/Caches/fnm_multishells/19014_1691646234602/bin/npm\r\n pnpm: 8.6.8 - ~/Library/pnpm/pnpm\r\n npmPackages:\r\n vitepress: 1.0.0-rc.4 => 1.0.0-rc.4\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.",[2955],{"name":2868,"color":2869},2769,"引入 echarts 编译时报错","2023-08-18T00:04:16Z","https://github.com/vuejs/vitepress/issues/2769",0.7028666,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fKsozKWAWGUXie-bEeOQ8R_ck5cpZ940R3IhhnoigR2Q":-1},"/vuejs/vitepress/417"]