\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.",[2890],{"name":2891,"color":2892},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.62253916,{"description":2899,"labels":2900,"number":2902,"owner":2871,"repository":2872,"state":2873,"title":2903,"updated_at":2904,"url":2905,"score":2906},"### Describe the bug\n\n路由中中文锚点刷新时由于编码导致报错\r\n\r\n\u003Cimg width=\"1263\" alt=\"Snipaste_2023-03-15_13-14-37\" src=\"https://user-images.githubusercontent.com/37688666/225213537-b55d97a4-69ca-4c7a-9077-ec4b82b412c5.png\">\r\n\n\n### Reproduction\n\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: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz\r\n Memory: 40.44 GB / 63.71 GB\r\n Binaries:\r\n Node: 14.18.2 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n npm: 6.14.15 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.69)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: * => 1.0.0-alpha.56\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.",[2901],{"name":2868,"color":2869},2089,"锚点链接中文错误","2023-03-23T00:04:21Z","https://github.com/vuejs/vitepress/issues/2089",0.62400204,{"description":2908,"labels":2909,"number":2911,"owner":2871,"repository":2872,"state":2873,"title":2912,"updated_at":2913,"url":2914,"score":2915},"### Describe the bug\n\nSo I installed VitePress, but when I just wanted it to say on the home page 'Hello World', it showed this: \r\n\r\nAnd I just entered this:\r\n\r\n\r\nDon't know why, I think this is a bug\n\n### Reproduction\n\nI installed it and made an index.md file, with 'Hello World' in it.\n\n### Expected behavior\n\nJust to show 'Hello World'\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19042 \r\n CPU: (4) x64 Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz\r\n Memory: 655.02 MB / 3.87 GB \r\n Binaries:\r\n Node: 16.6.1 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 7.16.0 - ~\\AppData\\Roaming\\npm\\npm.CMD\r\n Browsers:\r\n Chrome: 96.0.4664.110\r\n Edge: Spartan (44.19041.1266), Chromium (96.0.1054.62)\r\n Internet Explorer: 11.0.19041.1202\r\n npmPackages:\r\n vitepress: ^0.20.9 => 0.20.9\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [x] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.\n",[2910],{"name":2868,"color":2869},475,"Text bugging out","2023-01-21T16:04:33Z","https://github.com/vuejs/vitepress/issues/475",0.6272227,{"description":2917,"labels":2918,"number":2920,"owner":2871,"repository":2872,"state":2873,"title":2921,"updated_at":2922,"url":2923,"score":2924},"### Describe the bug\n\nIt is passed as `build.base` instead of root level `base` option\r\n\r\n```log\r\n\"build.base\" option is deprecated. \"base\" is now a root-level config option.\r\n```\n\n### Reproduction\n\nN/A\n\n### Expected behavior\n\nNo warning and work\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.0\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 3.91 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/985_1655820447617/bin/node\r\n Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/yarn\r\n npm: 8.12.1 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/npm\r\n Browsers:\r\n Chrome: 102.0.5005.115\r\n Firefox: 101.0.1\r\n Safari: 16.0\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2\n```\n\n\n### Additional context\n\nWorking on a fix.\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.",[2919],{"name":2868,"color":2869},835,"`vitepress build docs --base /xxx/` does not work as expected","2023-01-21T14:34:00Z","https://github.com/vuejs/vitepress/issues/835",0.64695114,{"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```js\r\nexport default {\r\n paths() {\r\n return [\r\n {\r\n params: {\r\n title: \"test1\",\r\n content: `tttt\r\n yyyy\r\n qqq`,\r\n\r\n },\r\n },\r\n ]\r\n },\r\n }\r\n```\r\n\r\n```md\r\n# {{ $params.title }}\r\n\r\n11111 content ↓↓↓\r\n\r\n\u003C!-- @content -->\r\n\r\n\r\n2222 content ↑↑↑\r\n\r\n```\n\n### Reproduction\n\nhttps://stackblitz.com/~/edit/vite-sqe6dh?file=docs%2Findex.md\n\n### Expected behavior\n\nContent displayed normally\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22621\r\n CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1235U\r\n Memory: 7.25 GB / 15.64 GB\r\n Binaries:\r\n Node: 21.6.1 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 10.2.4 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.15.1 - C:\\Program Files\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (121.0.2277.98)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: 1.0.0-rc.41 => 1.0.0-rc.41\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},3543,"\"\u003C! -- @ content -->\" is not available in the Rendering Raw Content","2024-02-13T00:04:48Z","https://github.com/vuejs/vitepress/issues/3543",0.6486699,{"description":2935,"labels":2936,"number":2938,"owner":2871,"repository":2872,"state":2873,"title":2939,"updated_at":2940,"url":2941,"score":2942},"### 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.",[2937],{"name":2868,"color":2869},2772,"升级vitepress后部署到阿里云服务器后,刷新页面会404","2023-08-18T00:04:13Z","https://github.com/vuejs/vitepress/issues/2772",0.648826,{"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\n我在使用自定义主题中, 给主题添加一个 i18n 功能, 是通过构建时数据加载方式进行加载的, 然后再 enhanceApp 中挂在一个全局的 `$t` 方法以便于在组件中方便设置 i18n 配置. 当然自定义主题文件放置在 `theme` 下时, 执行 dev 或者 build 时一切正常, 但是我将之定义主题发布到 npm 后, 通过 npm 安装引入后, 执行 dev 就会出现 ` No matching export in \"node_modules/vitepress-theme-async/composables/languages.data.ts\" for import \"data\"` 的错误 ,但是执行 build 是正常的.\n\n### Reproduction\n\n可以通过 `npm create async-theme@latest my-first-blog` 命令, 快速初始化一个可复现 demo \r\n\r\n\n\n### Expected behavior\n\n通过 npm 发布的主题包和将文件放置在 `theme` 下行为一致\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz\r\n Memory: 7.37 GB / 15.88 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\Program Files\\nodejs\\node.EXE \r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 9.5.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.5.1 - C:\\Program Files\\nodejs\\pnpm.CMD\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.",[2946],{"name":2868,"color":2869},3185,"Symptom When the npm package is used, Build-Time Data Loading is abnormal","2023-11-14T00:04:40Z","https://github.com/vuejs/vitepress/issues/3185",0.65006536,{"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\nyarn docs:dev\r\n\r\nBrowser display error:\r\n\r\n\n\n### Reproduction\n\nFollow the getting started case, which is https://vitepress.vuejs.org/guide/getting-started.html\n\n### Expected behavior\n\nNormal display index.md\n\n### System Info\n\n```shell\n~~~\r\nPS G:\\vitePress> npx envinfo --system --npmPackages vitepress --binaries --browsers\r\nNeed to install the following packages:\r\n envinfo\r\nOk to proceed? (y) y\r\n\r\n System:\r\n OS: Windows 10 10.0.17763\r\n CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz\r\n Memory: 3.91 GB / 7.93 GB\r\n Binaries:\r\n Node: 16.5.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.10 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 7.20.5 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 92.0.4515.107\r\n Edge: Spartan (44.17763.831.0)\r\n Internet Explorer: 11.0.17763.771\r\n npmPackages:\r\n vitepress: ^0.15.6 => 0.15.6\r\n~~~\n```\n\n\n### Additional context\n\n\r\n\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.",[2955],{"name":2868,"color":2869},359,"Using the simplest example, an error occurred","2023-01-21T16:22:13Z","https://github.com/vuejs/vitepress/issues/359",0.6504907,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fsFBq9Rx3NLCUZ_3rwWiI_VrPtp967sp5K5lGknoTUVU":-1},"/vuejs/vitepress/4034"]