\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.",[2899],{"name":2900,"color":2901},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.6619078,{"description":2908,"labels":2909,"number":2911,"owner":2869,"repository":2870,"state":2871,"title":2912,"updated_at":2913,"url":2914,"score":2915},"### 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.",[2910],{"name":2866,"color":2867},3543,"\"\u003C! -- @ content -->\" is not available in the Rendering Raw Content","2024-02-13T00:04:48Z","https://github.com/vuejs/vitepress/issues/3543",0.66548675,{"description":2917,"labels":2918,"number":2920,"owner":2869,"repository":2870,"state":2871,"title":2921,"updated_at":2922,"url":2923,"score":2924},"### 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",[2919],{"name":2866,"color":2867},475,"Text bugging out","2023-01-21T16:04:33Z","https://github.com/vuejs/vitepress/issues/475",0.66576135,{"description":2926,"labels":2927,"number":2932,"owner":2869,"repository":2870,"state":2871,"title":2933,"updated_at":2934,"url":2935,"score":2936},"### Describe the bug\n\n### dependencies\r\n\r\n`pnpm add @chenwei02/qy-element`\r\n> `@chenwei02/qy-element` has svg-icon component. svg files builded by vite-plugin-svg-icons.\r\n\r\n### docs\r\n`vitepress dev docs` is ok\r\n`vitepress build docs` then deploy to gh-pages, *.svg icon was blank.\r\n\r\n### Problem\r\nvitepress build docs . something is wrong.\r\n\r\n### Help\r\nI need help\n\n### Reproduction\n\npnpm add @chenwei02/qy-element\r\n\r\n*.md\r\n\u003Cqy-icon name=\"close\">\r\n\r\nvitepress build docs.\n\n### Expected behavior\n\nevery thing is ok.\n\n### System Info\n\n```sh\nvitepress : 1.0.0-alpha.64\r\n@chenwei02/qy-element: 1.0.2-p1\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,2929],{"name":2866,"color":2867},{"name":2930,"color":2931},"stale","ededed",2385,"Vitepress build Problem","2023-08-18T00:04:08Z","https://github.com/vuejs/vitepress/issues/2385",0.6705127,{"description":2938,"labels":2939,"number":2941,"owner":2869,"repository":2870,"state":2871,"title":2942,"updated_at":2943,"url":2944,"score":2945},"### 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.",[2940],{"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.6770961,{"description":2947,"labels":2948,"number":2950,"owner":2869,"repository":2870,"state":2871,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### 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.",[2949],{"name":2866,"color":2867},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.67755437,{"description":2956,"labels":2957,"number":2959,"owner":2869,"repository":2870,"state":2871,"title":2960,"updated_at":2961,"url":2962,"score":2963},"### Describe the bug\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nyarn add vitepress\r\n\r\nedit package.json\r\n\r\n~~~\r\n \"scripts\": {\r\n \"docs:dev\": \"vitepress dev docs\",\r\n \"docs:build\": \"vitepress build docs\",\r\n \"docs:serve\": \"vitepress serve docs\"\r\n }\r\n~~~\r\n\r\nyarn docs:dev\r\n\r\n### Expected behavior\r\n\r\nnormal display\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\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.25 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.16.1 => 0.16.1\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/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.",[2958],{"name":2866,"color":2867},362,"Strange symbols appear","2023-01-21T16:22:12Z","https://github.com/vuejs/vitepress/issues/362",0.6790222,["Reactive",2965],{},["Set"],["ShallowReactive",2968],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fRvHdtas6byDmDBW-FbJUDNQZBffyXFiATVNsk_HftII":-1},"/vuejs/vitepress/420"]