\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.",[3047],{"name":3048,"color":3049},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.70092666,{"description":3056,"labels":3057,"number":3059,"owner":3027,"repository":3028,"state":3039,"title":3060,"updated_at":3061,"url":3062,"score":3063},"\u003C!--\r\nNOTE:\r\nVitePress is still WIP, and it is not compatible with VuePress.\r\nPlease do not open issue about default theme missing features or something doesn't work like VuePress.\r\n-->\r\n\r\n**Describe the bug**\r\nAfter running npx vitepress, I open the browser and load the address of http://localhost:3000, but I get a error.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\nPS D:\\桌面\\demo> npx vitepress\r\nvitepress v0.5.0\r\nvite v1.0.0-rc.4\r\nlistening at http://localhost:3000\r\n[vite] Failed to resolve module import \"vue/dist/vue.runtime.esm-bundler.js.0.0-rc.5@vuedist\u000bue.runtime.esm-bundler.js\". (imported by /@app/components/Debug.vue)\r\n\r\n**Expected behavior**\r\nGetting \"Hello Vitepress\" in browser.\r\n\r\n**System Info**\r\n- vitepress version: v0.5.0\r\n- vite version: v1.0.0-rc.4\r\n- Node version: 12.14.0\r\n- OS version:10.0.19041 暂缺 Build 19041\r\n\r\n**Additional context**\r\n尤大大,I am you big fan.\r\n",[3058],{"name":3021,"color":3022},65,"服务启动之后,进入地址报错","2023-01-21T16:25:36Z","https://github.com/vuejs/vitepress/issues/65",0.70648044,{"description":3065,"labels":3066,"number":236,"owner":3027,"repository":3028,"state":3039,"title":3068,"updated_at":3069,"url":3070,"score":3071},"### Describe the bug\r\n\r\nWhen the Vite extension checks if the server is up, it resolves `localhost` to `127.0.0.1`, which will result in `ECONNREFUSED` as the server is no longer running on `127.0.0.1`.\r\n\r\nRelated commit: [`7787bbe` (#856)](https://github.com/vuejs/vitepress/pull/856/commits/7787bbe59a088f45025457587930308c25c84d27), \r\n\r\nRelated code for extension: https://github.com/antfu/vscode-vite/blob/main/src/utils.ts#L31\r\n\r\n### Reproduction\r\n\r\nI am unable to provide a reproduction as this occurs on VSCode. However, any VitePress project after alpha 5 can reproduce this issue. It may be a Linux only issue\r\n\r\n### Expected behavior\r\n\r\nI'm not very sure what the right behavior would be. Since a new Vite project runs the server on `127.0.0.1` by default, VitePress could also follow the same behavior.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Linux 5.18 Pop!_OS 22.04 LTS\r\n CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz\r\n Memory: 21.03 GB / 31.22 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 16.15.1 - ~/.volta/tools/image/node/16.15.1/bin/node\r\n Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn\r\n npm: 8.11.0 - ~/.volta/tools/image/node/16.15.1/bin/npm\r\n Browsers:\r\n Firefox: 103.0\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.6 => 1.0.0-alpha.6\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nTemporary workaround is to start VitePress with `--host`\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.",[3067],{"name":3024,"color":3025},"`verbatim` DNS result order breaks VSCode Vite extension","2023-08-11T00:04:24Z","https://github.com/vuejs/vitepress/issues/1203",0.7097991,{"description":3073,"labels":3074,"number":3076,"owner":3027,"repository":3028,"state":3039,"title":3077,"updated_at":3078,"url":3079,"score":3080},"### 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.",[3075],{"name":3021,"color":3022},2772,"升级vitepress后部署到阿里云服务器后,刷新页面会404","2023-08-18T00:04:13Z","https://github.com/vuejs/vitepress/issues/2772",0.7146036,{"description":3082,"labels":3083,"number":3085,"owner":3027,"repository":3028,"state":3039,"title":3086,"updated_at":3087,"url":3088,"score":3089},"### Describe the bug\n\n版本:\"vitepress\": \"^1.0.0-alpha.35\", \r\n里面没有多余的东西。就是按照官网https://vitepress.vuejs.org/guide/getting-started 走到了第三步。然后将 index.md 的内容添加了 {1}\r\n\r\n\r\n\r\n\n\n### Reproduction\n\n按照官网https://vitepress.vuejs.org/guide/getting-started 走到了第三步。然后将 index.md 的内容添加了 {1}\n\n### Expected behavior\n\n正常渲染 {1} 标签的内容\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H\r\n Memory: 1.50 GB / 15.73 GB\r\n Binaries:\r\n Node: 16.15.1 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 8.11.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.963.0), Chromium (108.0.1462.76)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.35 => 1.0.0-alpha.35\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.",[3084],{"name":3021,"color":3022},1781,"在内容里使用 {xxx} 就会报错","2023-01-21T14:16:43Z","https://github.com/vuejs/vitepress/issues/1781",0.71807003,{"description":3091,"labels":3092,"number":3094,"owner":3027,"repository":3028,"state":3039,"title":3095,"updated_at":3096,"url":3097,"score":3098},"### Describe the bug\r\n\r\nI'm migrate vue-i18n docs site with vitepress v1 alpha.4\r\nThe config.ts for that docs consists of Mulutiple Sidbars.\r\nConfig.ts is here:\r\nhttps://github.com/intlify/vue-i18n-next/blob/docs/vitepress1/docs/.vitepress/config.ts\r\n\r\n`/guide/` sidebar has items, but it’s wried, we will access the `Message Format Syntax` and `Fallbacking` items resulting in a 404.\r\n\r\nThese settings are here.\r\n- `Message Format Syntax`: https://github.com/intlify/vue-i18n-next/blob/e59dcca32e1aa6af966651f02bb624081299c2bf/docs/.vitepress/config.ts#L114-L117\r\n- `Fallbacking`: https://github.com/intlify/vue-i18n-next/blob/e59dcca32e1aa6af966651f02bb624081299c2bf/docs/.vitepress/config.ts#L134-L137\r\n\r\nThe previous version of vitepress worked, so here is the site URL and config for your reference.\r\n\r\n- URL: https://vue-i18n.intlify.dev/\r\n- config: https://github.com/intlify/vue-i18n-next/blob/master/docs/.vitepress/config.js\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nRepository: https://github.com/intlify/vue-i18n-next\r\n\r\nReproduction step:\r\n1. `git clone git@github.com:intlify/vue-i18n-next.git`\r\n2. `git checkout docs/vitepress1`\r\n3. `pnpm install`\r\n4. `pnpm docs:setup`\r\n5. `pnpm docs:dev`\r\n6. go to http://localhost:3000/\r\n7. go to Guid via navigation `Guide` menu\r\n8. go to [Message Format Syntax](http://localhost:3000/guide/essentials/syntax.html) via sidebar\r\n9. go to [Fallbacking](http://localhost:3000/guide/essentials/fallback.html) via sidebar \r\n\r\n### Expected behavior\r\n\r\nI hope that 404 won't occur on these pages\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 10.15.7\r\n CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz\r\n Memory: 9.93 GB / 64.00 GB\r\n Shell: 5.7.1 - /bin/zsh\r\n Binaries:\r\n Node: 18.4.0 - ~/bin/.nvm/versions/node/v18.4.0/bin/node\r\n npm: 8.12.1 - ~/bin/.nvm/versions/node/v18.4.0/bin/npm\r\n Browsers:\r\n Chrome: 103.0.5060.53\r\n Firefox: 97.0.1\r\n Safari: 15.5\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.",[3093],{"name":3021,"color":3022},885,"Occured 404 in some pages","2023-01-21T14:32:52Z","https://github.com/vuejs/vitepress/issues/885",0.7195246,{"description":3100,"labels":3101,"number":3103,"owner":3027,"repository":3028,"state":3039,"title":3104,"updated_at":3105,"url":3106,"score":3107},"\u003C!--\r\nNOTE:\r\nVitePress is still WIP, and it is not compatible with VuePress.\r\nPlease do not open issue about default theme missing features or something doesn't work like VuePress.\r\n-->\r\n\r\n**Describe the bug**\r\nA clear and concise description of what the bug is.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\n\r\n**System Info**\r\n- vitepress version:\r\n- vite version:\r\n- Node version:\r\n- OS version:\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n",[3102],{"name":3021,"color":3022},307,"index.md 乱码如何解决? ","2023-01-21T16:22:22Z","https://github.com/vuejs/vitepress/issues/307",0.72090954,{"description":3109,"labels":3110,"number":3112,"owner":3027,"repository":3028,"state":3039,"title":3113,"updated_at":3114,"url":3115,"score":3116},"### Describe the bug\n\nEach time I build docs with GitHub Action (workflows), every page generated by VitePress set its 'Last Updated' time up to date.\n\n### Reproduction\n\nSee [Demo](https://tazimi.dev/awesome-notes/).\n\n### Expected behavior\n\n'Last Update' time should be consistent to git update timestamp, shouldn't consistent to `vitepress build` timestamp.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.8 Ubuntu 20.04.2 LTS (Focal Fossa)\r\n CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz\r\n Memory: 2.71 GB / 7.66 GB\r\n Container: Yes\r\n Shell: 5.8 - /usr/bin/zsh\r\n Binaries:\r\n Node: 16.4.2 - ~/.nvm/versions/node/v16.4.2/bin/node\r\n npm: 7.18.1 - ~/.nvm/versions/node/v16.4.2/bin/npm\r\n Browsers:\r\n Firefox: 90.0\r\n npmPackages:\r\n vitepress: ^0.15.6 => 0.15.6\n```\n\n\n### Additional context\n\n_No response_\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.",[3111],{"name":3021,"color":3022},343,"Last updated time error","2023-01-21T14:34:11Z","https://github.com/vuejs/vitepress/issues/343",0.72378486,["Reactive",3118],{},["Set"],["ShallowReactive",3121],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f0Cxh6HHBvldXiykw7l6hl7isMHJj4JeG7nh1QAO_1Qk":-1},"/vuejs/vitepress/1469"]