\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.",[2879],{"name":2880,"color":2881},"question","5D5FAE",3513,"closed","部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.7006426,{"description":2889,"labels":2890,"number":2892,"owner":2869,"repository":2870,"state":2883,"title":2893,"updated_at":2894,"url":2895,"score":2896},"### 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.",[2891],{"name":2866,"color":2867},835,"`vitepress build docs --base /xxx/` does not work as expected","2023-01-21T14:34:00Z","https://github.com/vuejs/vitepress/issues/835",0.70510423,{"description":2898,"labels":2899,"number":2901,"owner":2869,"repository":2870,"state":2883,"title":2902,"updated_at":2903,"url":2904,"score":2905},"### Describe the bug\n\nAfter updating to vitepress@1.0.0-rc.40 (and still confirmed in vitepress@1.0.0-rc.42), we can no longer use vitepress's development mode via `vitepress dev`.\r\nWhile the CLI app runs without visible errors, the browser only shows an empty screen. In the browser console, the following warnings and error are shown:\r\n\u003Cimg width=\"662\" alt=\"vitepress-error\" src=\"https://github.com/vuejs/vitepress/assets/12949268/f6b73163-1a5f-4890-8c28-0c5744000ef3\">\r\nAs this does not seem to originate from our own code, we are not sure we can do anything about it. At the moment, we avoid the issue by pinning vitepress to vitepress@1.0.0-rc.39.\r\n\r\n\n\n### Reproduction\n\n```shell\r\ngit clone git@github.com:rollup/rollup.git\r\ncd rollup\r\nnpm install --ignore-scripts\r\nnpm install vitepress@latest\r\nnpm run dev\r\n```\n\n### Expected behavior\n\nOpening http://localhost:5173/ in the browser shows the Rollup website.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.3.1\r\n CPU: (12) arm64 Apple M2 Max\r\n Memory: 14.80 GB / 64.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.5.1 - ~/.asdf/installs/nodejs/20.5.1/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 9.8.0 - ~/.asdf/plugins/nodejs/shims/npm\r\n pnpm: 8.14.1 - ~/.asdf/installs/nodejs/20.5.1/bin/pnpm\r\n Browsers:\r\n Chrome: 121.0.6167.184\r\n Safari: 17.3.1\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.42 => 1.0.0-rc.42\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.",[2900],{"name":2866,"color":2867},3579,"vitepress@1.0.0-rc.40+ breaks vitepress dev","2024-02-27T00:05:56Z","https://github.com/vuejs/vitepress/issues/3579",0.70539695,{"description":2907,"labels":2908,"number":2913,"owner":2869,"repository":2870,"state":2883,"title":2914,"updated_at":2915,"url":2916,"score":2917},"### Describe the bug\n\nrun vitepress build error:\r\n> docs@1.0.0 docs:build E:\\yto-engine\\docs\r\n> vitepress build\r\n\r\n\r\n vitepress v1.0.0-alpha.74\r\n\r\n⠴ building client + server bundles...\r\n(!) Some chunks are larger than 500 kBs after minification. Consider:\r\n- Using dynamic import() to code-split the application\r\n- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks\r\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\r\n✓ building client + server bundles...\r\nbuild error:\r\nTypeError: Cannot assign to read only property '__esModule' of object '#\u003CObject>'\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7100:20\r\n at Array.forEach (\u003Canonymous>)\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7098:29\r\n at requireVue_cjs_prod (file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7102:5)\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7179:22\r\n at file:///E:/yto-engine/docs/.vitepress/.temp/plugin-vue_export-helper.b00f2ce5.js:7183:3\r\n at ModuleJob.run (node:internal/modules/esm/module_job:198:25)\r\n at async Promise.all (index 0)\r\n at async ESMLoader.import (node:internal/modules/esm/loader:385:24)\r\n at async build (file:///E:/yto-engine/node_modules/.pnpm/vitepress@1.0.0-alpha.74/node_modules/vitepress/dist/node/serve-c662a607.js:41704:24)\r\n ELIFECYCLE Command failed with exit code 1.\r\n ELIFECYCLE Command failed with exit code 1.\n\n### Reproduction\n\ngit-clone:https://github.com/Hollelihanqi/ui.git\r\nstep1:\r\npnpm install\r\nstep2:\r\npnpm docs:build\n\n### Expected behavior\n\nvirepress build success\n\n### System Info\n\n```sh\nnodejs 16.15.0\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.",[2909,2910],{"name":2866,"color":2867},{"name":2911,"color":2912},"stale","ededed",2337,"build error","2023-09-25T00:04:32Z","https://github.com/vuejs/vitepress/issues/2337",0.7065577,{"description":2919,"labels":2920,"number":2931,"owner":2869,"repository":2870,"state":2883,"title":2932,"updated_at":2933,"url":2934,"score":2935},"### Describe the bug\n\n**Build terminated :** \r\n\r\nHow to resolde this issue ?\r\n\r\nnpm run docs:dev successfully \r\n\r\nBut build failed !\r\n\r\n`\r\nnpm run docs:build\r\n\r\n> docs:build\r\n> vitepress build docs\r\n\r\n\r\n vitepress v1.0.0-rc.10\r\n\r\n⠦ building client + server bundles...\r\n(!) Some chunks are larger than 500 kBs after minification. Consider:\r\n- Using dynamic import() to code-split the application\r\n- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks\r\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\r\n⠧ building client + server bundles...Terminated\r\n`\n\n### Reproduction\n\nVery large site : +500K files\r\nnpm run docs:build\n\n### Expected behavior\n\nBuild success\n\n### System Info\n\n```sh\nSystem:\r\n OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)\r\n CPU: (4) x64 AMD EPYC 7763 64-Core Processor\r\n Memory: 13.75 GB / 15.62 GB\r\n Container: Yes\r\n Shell: 5.0.17 - /bin/bash\r\n Binaries:\r\n Node: 20.5.1 - ~/nvm/current/bin/node\r\n Yarn: 1.22.19 - /usr/bin/yarn\r\n npm: 9.8.0 - ~/nvm/current/bin/npm\r\n pnpm: 8.6.12 - ~/nvm/current/bin/pnpm\r\n npmPackages:\r\n vitepress: v1.0.0-rc.10 => 1.0.0-rc.10\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.",[2921,2924,2927,2930],{"name":2922,"color":2923},"build","377ba8",{"name":2925,"color":2926},"upstream","BF29ED",{"name":2928,"color":2929},"contribution welcome","11E4B8",{"name":2911,"color":2912},2870,"Some chunks are larger than 500 kBs after minification","2024-01-03T00:04:38Z","https://github.com/vuejs/vitepress/issues/2870",0.70688134,{"description":2937,"labels":2938,"number":2940,"owner":2869,"repository":2870,"state":2883,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Describe the bug\r\n\r\nVitePress builds, and instantly removes the dist folder again.\r\n\r\n### Reproduction\r\n\r\nClone my [GitHub repository](https://github.com/Ahwxorg/Linkbase/), run yarn to install the dependencies and run `yarn vitepress build`.\r\n\r\n### Expected behavior\r\n\r\nVitePress successfully builds the dist/ folder.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 13.5.2\r\n CPU: (10) arm64 Apple M2 Pro\r\n Memory: 125.69 MB / 16.00 GB\r\n Shell: 3.6.1 - /opt/homebrew/bin/fish\r\n Binaries:\r\n Node: 20.7.0 - /opt/homebrew/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 10.1.0 - /opt/homebrew/bin/npm\r\n Browsers:\r\n Safari: 16.6\r\n```\r\n\r\n\r\nAlthough I use GitHub Actions as well (see [the failed run here](https://github.com/Ahwxorg/Linkbase/actions/runs/6273423931/job/17036870482))\r\n\r\n\r\n### Additional context\r\n\r\nBuild log is the following:\r\n\r\n```sh\r\nvitepress v1.0.0-rc.20\r\n\r\n✓ building client + server bundles...\r\n✓ rendering pages...\r\nbuild complete in 1.89s.\r\n✨ Done in 2.06s.\r\n```\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2939],{"name":2866,"color":2867},3040,"[Bug] VitePress won't build","2023-10-10T00:04:18Z","https://github.com/vuejs/vitepress/issues/3040",0.7115096,{"description":2946,"labels":2947,"number":2949,"owner":2869,"repository":2870,"state":2883,"title":2950,"updated_at":2951,"url":2952,"score":2953},"### 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.",[2948],{"name":2866,"color":2867},2772,"升级vitepress后部署到阿里云服务器后,刷新页面会404","2023-08-18T00:04:13Z","https://github.com/vuejs/vitepress/issues/2772",0.7115793,{"description":2955,"labels":2956,"number":2958,"owner":2869,"repository":2870,"state":2883,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Describe the bug\n\nI use these rewrites in my Vitepress config:\r\n\r\n\r\n```\r\nrewrites: {\r\n ':section/{:_(\\\\d+_)}?:one/{:_(\\\\d+_)}?:two/{:_(\\\\d+_)}?:three' : ':section/:one/:two/:three',\r\n ':section/{:_(\\\\d+_)}?:one/{:_(\\\\d+_)}?:two' : ':section/:one/:two',\r\n ':section/{:_(\\\\d+_)}?:one' : ':section/:one'\r\n },\r\n```\n\n### Reproduction\n\nI have a failing case right now on this PR, example build failure: https://github.com/jasonkuhrt/graffle/actions/runs/11219992004/job/31187185529?pr=1168.\r\n\r\n\r\n\n\n### Expected behavior\n\nI expected that a minor release of Vitepress would not break the config.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 15.0\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 78.25 MB / 32.00 GB\r\n Shell: 3.5.0 - /opt/homebrew/bin/fish\r\n Binaries:\r\n Node: 22.7.0 - ~/Library/pnpm/node\r\n npm: 10.8.2 - ~/Library/pnpm/npm\r\n pnpm: 9.12.1 - /opt/homebrew/bin/pnpm\r\n Browsers:\r\n Brave Browser: 114.1.52.122\r\n Chrome: 129.0.6668.91\r\n Safari: 18.0\r\n npmPackages:\r\n vitepress: ^1.3.4 => 1.3.4 \r\n```\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":2925,"color":2926},4261,"1.4 Broke rewrites","2024-10-21T04:43:44Z","https://github.com/vuejs/vitepress/issues/4261",0.7136052,{"description":2964,"labels":2965,"number":2967,"owner":2869,"repository":2870,"state":2883,"title":2968,"updated_at":2969,"url":2970,"score":2971},"### Describe the bug\r\n\r\n在 vitepress 文档环境中 引用x6 组件,会提示navigate不存在。\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n``` bash\r\nyarn build:docs\r\n```\r\n\r\n### Expected behavior\r\n\r\n希望能够正常引入 x6, 或者提供一个 使用x6的最佳实践\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 11.4\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 891.16 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node\r\n Yarn: 1.22.10 - /usr/local/bin/yarn\r\n npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm\r\n Browsers:\r\n Chrome: 92.0.4515.131\r\n Safari: 14.1.1\r\nmodule\r\n \"vite\": \"^2.4.4\",\r\n \"vitepress\": \"^0.15.6\",\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\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.",[2966],{"name":2866,"color":2867},349,"vitepress build x6 error","2023-01-21T16:22:15Z","https://github.com/vuejs/vitepress/issues/349",0.7156056,["Reactive",2973],{},["Set"],["ShallowReactive",2976],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fx5oXTpAKsEytRRhcy8s6-As5tf6_o8GRG2cKSVsHdV8":-1},"/vuejs/vitepress/4242"]