\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.",[2919],{"name":2920,"color":2921},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.69708556,{"description":2928,"labels":2929,"number":2931,"owner":2871,"repository":2872,"state":2873,"title":2932,"updated_at":2933,"url":2934,"score":2935},"### 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.",[2930],{"name":2868,"color":2869},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.6973874,{"description":2937,"labels":2938,"number":2940,"owner":2871,"repository":2872,"state":2873,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Describe the bug\r\n\r\n\u003Cimg width=\"349\" alt=\"image\" src=\"https://user-images.githubusercontent.com/5988630/174742476-72879305-54a8-4118-b2a3-358719d30e13.png\">\r\n\r\nAs screenshot shows, even set base config, favicon ignore this setting.\r\nAnd when it seems working fine in dev env. But broke in deploy env.\r\n\r\n\u003Cimg width=\"415\" alt=\"Screen Shot 2022-06-21 at 15 52 40\" src=\"https://user-images.githubusercontent.com/5988630/174746657-bc4d44e3-1197-43d0-9699-d33e5f059efb.png\">\r\n\r\n### Reproduction\r\n\r\nJust start a random project with base config\r\n\r\n### Expected behavior\r\n\r\nfavicon url should respect **base** config\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 12.4\r\n CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz\r\n Memory: 145.51 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node\r\n Yarn: 1.22.17 - ~/.yarn/bin/yarn\r\n npm: 8.5.5 - ~/.config/yarn/global/node_modules/.bin/npm\r\n Browsers:\r\n Chrome: 102.0.5005.115\r\n Firefox: 89.0\r\n Safari: 15.5\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2\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.",[2939],{"name":2868,"color":2869},827,"favicon didn't respect **base** config","2023-01-21T14:34:02Z","https://github.com/vuejs/vitepress/issues/827",0.7010024,{"description":2946,"labels":2947,"number":2951,"owner":2871,"repository":2872,"state":2873,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Describe the bug\n\n1. 组件中 style scoped 使用了 bootstrap,某些 class 样式出不来,比如下面 `rounded`;\r\n\r\n\r\n2. 如果在 vue 组件的 script 导入 bootstrap,则会影响默认主题的样式,比如下面标题\r\n\r\n\r\n3. 不管是使用 slots 还是使用全局注册组件,都是一样的问题;\n\n### Reproduction\n\n默认主题结合 bootstrap 很容易重现。\n\n### Expected behavior\n\n我希望在 vitepress 的组件中使用 bootstrap 快速开发。\n\n### System Info\n\n```sh\nSystem:\r\n OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)\r\n CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz\r\n Memory: 4.30 GB / 7.72 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 19.5.0 - ~/.nvm/versions/node/v19.5.0/bin/node\r\n npm: 9.6.4 - ~/.nvm/versions/node/v19.5.0/bin/npm\r\n pnpm: 8.6.9 - ~/.local/share/pnpm/pnpm\r\n npmPackages:\r\n vitepress: 1.0.0-beta.6 => 1.0.0-beta.6\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.",[2948],{"name":2949,"color":2950},"theme","0754FB",2683,"默认主题添加组件使用 bootstrap 样式没有预期","2023-08-18T00:04:15Z","https://github.com/vuejs/vitepress/issues/2683",0.7029722,{"description":2957,"labels":2958,"number":2963,"owner":2871,"repository":2872,"state":2873,"title":2964,"updated_at":2965,"url":2966,"score":2967},"### Describe the bug\n\nwhen i set config.js base, dev & build error!\r\nexample: https://github.com/busyhe/monorepo-template\r\n![Uploading image.png…]()\r\ndeploy github page, click logo and click get started button error\r\n\n\n### Reproduction\n\nhttps://busyhe.github.io/monorepo-template/\n\n### Expected behavior\n\nyarn workspace docs dev success preview & deploy github page success preview\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.1\r\n CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz\r\n Memory: 67.27 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 18.12.0 - ~/.nvm/versions/node/v18.12.0/bin/node\r\n Yarn: 3.3.0 - ~/.nvm/versions/node/v18.12.0/bin/yarn\r\n npm: 8.19.2 - ~/.nvm/versions/node/v18.12.0/bin/npm\r\n Browsers:\r\n Chrome: 108.0.5359.124\r\n Safari: 16.2\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.",[2959,2960],{"name":2868,"color":2869},{"name":2961,"color":2962},"stale","ededed",1788,"yarn monorepo setting base config dev&build error","2023-08-12T00:04:31Z","https://github.com/vuejs/vitepress/issues/1788",0.70329386,["Reactive",2969],{},["Set"],["ShallowReactive",2972],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fC4kEVeyxMSv9tpK53U9Wx6l2PRW8-xvDBwt8UEcDkNY":-1},"/vuejs/vitepress/1386"]