\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.",[2889],{"name":2890,"color":2891},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.6600358,{"description":2898,"labels":2899,"number":2903,"owner":2869,"repository":2870,"state":2881,"title":2904,"updated_at":2905,"url":2906,"score":2907},"### Describe the bug\n\nHey i got a issue on my fresh installed vitepress..\nI can reload the main page \"index\" as often i want it works, but as soon i go into a \"docs\" page \"https://example.com/introduction/getting-started\" i get a HTTP ERROR 404 on reload everytime ..\ndoes someone know, why ?\n\n### Reproduction\n\nas soon i go into a \"docs\" page \"https://example.com/introduction/getting-started\" i get a HTTP ERROR 404 on reload everytime ..\n\n### Expected behavior\n\nReload page normal without issues.\n\n### System Info\n\n```Text\nSystem:\n OS: Linux 6.12 Debian GNU/Linux trixie/sid\n CPU: (2) x64 AMD EPYC 7543 32-Core Processor\n Memory: 3.20 GB / 3.84 GB\n Container: Yes\n Shell: 5.2.37 - /bin/bash\n Binaries:\n Node: 22.13.1 - /usr/bin/node\n npm: 11.0.0 - /usr/bin/npm\n pnpm: 10.0.0 - /usr/bin/pnpm\n npmPackages:\n vitepress: ^1.6.3 => 1.6.3\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.",[2900],{"name":2901,"color":2902},"need more info","bdbefc",4518,"HTTP ERROR 404 on Page Reload","2025-02-02T04:41:48Z","https://github.com/vuejs/vitepress/issues/4518",0.6795425,{"description":2909,"labels":2910,"number":2912,"owner":2869,"repository":2870,"state":2881,"title":2913,"updated_at":2914,"url":2915,"score":2916},"### Describe the bug\n\nmy defineConfig:\r\n\r\nwhen i build and release to website, i get a 404 when use local search:\r\n\r\n\r\n\r\n404 on `run docs:preview` too, only ok `run docs:dev`\n\n### Reproduction\n\nvitepress version v1.0.0-alpha.73\r\n\r\nWindows 11 \n\n### Expected behavior\n\n..\n\n### System Info\n\n```shell\n..\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.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2911],{"name":2866,"color":2867},2276,"I use rewrites URL, local search get 404 on build version","2023-05-05T00:04:13Z","https://github.com/vuejs/vitepress/issues/2276",0.6879715,{"description":2918,"labels":2919,"number":2920,"owner":2869,"repository":2870,"state":2881,"title":2921,"updated_at":2922,"url":2923,"score":2924},"### Describe the bug\n\n✓ building client + server bundles...\r\n✓ rendering pages...\r\n✖ generating sitemap...\r\nbuild error:\r\nError: spawn git ENOENT\r\n at ChildProcess._handle.onexit (node:internal/child_process:283:19)\r\n at onErrorNT (node:internal/child_process:476:16)\r\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\r\n ELIFECYCLE Command failed with exit code 1.\r\n\r\n\r\n\n\n### Reproduction\n\nhttps://github.com/tomiaa12/blog\n\n### Expected behavior\n\n如题\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1235U\r\n Memory: 3.64 GB / 15.64 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 9.5.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.6.11 - C:\\Program Files\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1023.0)\r\n Internet Explorer: 11.0.19041.1\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.",[],2749,"✖ generating sitemap...生成sitemap编译报错","2023-08-16T00:04:25Z","https://github.com/vuejs/vitepress/issues/2749",0.688699,{"description":2926,"labels":2927,"number":2931,"owner":2869,"repository":2870,"state":2881,"title":2932,"updated_at":2933,"url":2934,"score":2935},"### Describe the bug\n\n访问一个软连接内的目录, 会导致页面显示404。\r\n点击时有两个返回, 一个返回是正常的文件。 但是contetn-type: text/markdown\r\n另一个是 hashmap.json 404\n\n### Reproduction\n\n软连接目录文件(windows);软链接使用的是:\r\n\r\nmklink /j \"D:\\pro\\doc\\my-docs\\docs\\xx \"D:\\pro\\xxx\\xx\"\r\n\r\n生成的目录\n\n### Expected behavior\n\n能够正常的返回并显示\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz\r\n Memory: 3.55 GB / 15.86 GB\r\n Binaries:\r\n Node: 16.17.1 - D:\\dev\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - D:\\dev\\nodejs\\yarn.CMD\r\n npm: 8.15.0 - D:\\dev\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.42)\r\n Internet Explorer: 11.0.19041.1566\n```\n\n\n### Additional context\n\n\r\n\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.",[2928],{"name":2929,"color":2930},"build","377ba8",1496,"allow using symlinks with pages","2023-08-20T00:04:18Z","https://github.com/vuejs/vitepress/issues/1496",0.69207525,{"description":2937,"labels":2938,"number":2940,"owner":2869,"repository":2870,"state":2881,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### 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.",[2939],{"name":2929,"color":2930},1608,"mono+dev+enhanceApp+fs.server.strict: sometimes run error","2023-01-21T14:20:33Z","https://github.com/vuejs/vitepress/issues/1608",0.69235617,{"description":2946,"labels":2947,"number":2949,"owner":2869,"repository":2870,"state":2881,"title":2950,"updated_at":2951,"url":2952,"score":2953},"### Describe the bug\r\n\r\nMainly described in the title, further description is at 4th point of reproducing the error. This is reproduced in normal python http server, and seems to happen in github pages as well.\r\n\r\nMight be related to #412, but I don't think its exactly the same behavior & cause.\r\n\r\n### Reproduction\r\n\r\n1. Download the repro and unzip, it should have the following content:\r\n\r\n```bash\r\n.\r\n├── content\r\n│ ├── first\r\n│ │ ├── index.md\r\n│ │ └── second.md\r\n│ └── index.md\r\n├── package.json\r\n└── yarn.lock\r\n```\r\n\r\n[vitepress-repro.zip](https://github.com/vuejs/vitepress/files/9575259/vitepress-repro.zip)\r\n\r\n\r\n2. Run `yarn && yarn run content:build`\r\n a `site` folder at project root should be created.\r\n4. Run `python3 -m http.server -d . 4000`, and lookup `localhost:4000/site`.\r\n Everything looks fine, you can navigate to First using navbar, and second.md file in first by left panel.\r\n5. Now refresh at the same `localhost:4000/site/first/second`.\r\n You should see the page is loaded but a 404 page is added at the bottom too, now if you try to navigate, the top of page remains as is, the bottom of page is instead replaced by the new content.\r\n\r\n### Expected behavior\r\n\r\nPage should not append a 404 page, nor it should load navigated pages in bottom of page instead of replacing current page.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Linux 5.18 Void\r\n CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz\r\n Memory: 3.97 GB / 7.56 GB\r\n Container: Yes\r\n Shell: 3.5.1 - /usr/bin/fish\r\n Binaries:\r\n Node: 16.15.1 - /usr/bin/node\r\n Yarn: 1.22.18 - /usr/bin/yarn\r\n npm: 8.11.0 - /usr/bin/npm\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nFull page screenshot\r\n\r\n\r\n\r\nTwo errors, in order appears in the browser's console:\r\n\r\n```\r\nFailed to load resource: the server responded with a status of 404 (File not found) :4000/site/assets/first_second_index.md.undefined.lean.js:1\r\n\r\nHydration completed but contains mismatches. app.558d10a0.js:1\r\n```\r\n\r\nPoint to be noted is that `first_second_index.md.undefined.lean.js` is trying to get fetched, i.e. the \"undefined\" hash.\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.",[2948],{"name":2901,"color":2902},1345,"Built content when served manually (not `vitepress dev \u003Csrc>`) adds a 404 page at end of page, and later navigation loads the page there at bottom replacing 404 at the bottom.","2023-01-21T14:25:22Z","https://github.com/vuejs/vitepress/issues/1345",0.6975717,{"description":2955,"labels":2956,"number":2958,"owner":2869,"repository":2870,"state":2881,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Describe the bug\n\n\r\n\r\n看着就像是张图片一样, 无法点击播放\n\n### Reproduction\n\n-\n\n### Expected behavior\n\n能正常播放\n\n### System Info\n\n```Text\nSystem:\r\n OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)\r\n CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz\r\n Memory: 13.57 GB / 15.54 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm\r\n pnpm: 8.7.1 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: 1.0.0-rc.31 => 1.0.0-rc.31\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.",[2957],{"name":2901,"color":2902},3296,"video 标签引入的资源无法播放","2024-01-11T00:04:47Z","https://github.com/vuejs/vitepress/issues/3296",0.6986504,["Reactive",2964],{},["Set"],["ShallowReactive",2967],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f1N2qJo7_6uL_L4B0tLOHh0SlFMD0y9yqrTwTUuvUXLE":-1},"/vuejs/vitepress/419"]