\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.",[2944],{"name":2945,"color":2946},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.70281184,{"description":2953,"labels":2954,"number":2956,"owner":2868,"repository":2869,"state":2870,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Describe the bug\r\n\r\n\u003Cimg width=\"1066\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/175569550-987da428-6290-461c-b1ca-ede03db5e416.png\">\r\n\r\n\u003Cimg width=\"929\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8336744/175569655-51561dae-5d49-4155-ae6c-9924df2b9cdb.png\">\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/JounQin/test/tree/vitepress\r\n\r\n`yarn docs:build --base /docs/ && yarn docs:serve --base /docs/`\r\n\r\n### Expected behavior\r\n\r\n`http://localhost:8000/docs` (Without ending slash) should work same as `http://localhost:8000/docs/` (With ending slash)\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 13.0\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 17.64 GB / 64.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.15.1 - ~/Library/Caches/fnm_multishells/3706_1656066380637/bin/node\r\n Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/3706_1656066380637/bin/yarn\r\n npm: 8.13.1 - ~/Library/Caches/fnm_multishells/3706_1656066380637/bin/npm\r\n Browsers:\r\n Chrome: 103.0.5060.53\r\n Firefox: 101.0.1\r\n Safari: 16.0\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.4 => 1.0.0-alpha.4\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.",[2955],{"name":2879,"color":2880},852,"Visiting `/docs` results `/docs.html` then 404 if `base` is set as `/docs/`","2023-02-05T00:04:37Z","https://github.com/vuejs/vitepress/issues/852",0.70501506,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f02xVk8wTU3ebOQbxJAv9eUym2eHxCWL93JdBGq0q0v8":-1},"/vuejs/vitepress/2221"]