\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.",[2900],{"name":2901,"color":2902},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.68725884,{"description":2909,"labels":2910,"number":1992,"owner":2871,"repository":2872,"state":2883,"title":2912,"updated_at":2913,"url":2914,"score":2915},"\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\n1. Expect \r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n\r\n1. Create `index.md` file with a few headings\r\n1. Sidebar auto is turned on\r\n1. Add new headings (h2s or h3s) to `index.md` file\r\n1. Save file\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\n\r\nSidebar should rerender with the appropriate headings.\r\n\r\n**System Info**\r\n- vitepress version: v0.4.0\r\n- vite version: v1.0.0-beta.1\r\n- Node version: v12.16.1\r\n- OS version: macOS 10.15.5\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n",[2911],{"name":2868,"color":2869},"Sidebar does not re-render based on new content in markdown","2023-01-21T16:23:57Z","https://github.com/vuejs/vitepress/issues/32",0.68970484,{"description":2917,"labels":2918,"number":2920,"owner":2871,"repository":2872,"state":2883,"title":2921,"updated_at":2922,"url":2923,"score":2924},"\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\nsetting base path will make the sidebar blank.\r\n\r\n**To Reproduce**\r\nin .vitepress/config.js:\r\nadd base path setting\r\n\r\n**Expected behavior**\r\nnormal display\r\n\r\n**System Info**\r\n- vitepress version: 0.12.0\r\n- vite version: 2.0.0-beta.50\r\n- Node version: v15.2.1\r\n- OS version: macOS 11.2\r\n\r\n**Additional context**\r\nyou can see there: https://assone.github.io/Note/programing/\r\n",[2919],{"name":2868,"color":2869},242,"setting base path will make the sidebar blank","2023-01-21T16:22:30Z","https://github.com/vuejs/vitepress/issues/242",0.69099945,{"description":2926,"labels":2927,"number":2929,"owner":2871,"repository":2872,"state":2883,"title":2930,"updated_at":2931,"url":2932,"score":2933},"### Describe the bug\r\n\r\n指定端口号后热更新失效,恢复默认之后热更新依旧不生效\r\n\r\n### Reproduction\r\n\r\nvitepress dev docs --host --port 9999\r\n\r\n### Expected behavior\r\n\r\n热更新生效\r\n\r\n### System Info\r\n\r\n```sh\r\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: 44.27 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 (112.0.1722.68)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.75 => 1.0.0-alpha.75\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] 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.",[2928],{"name":2868,"color":2869},2349,"热更新","2023-05-24T00:03:54Z","https://github.com/vuejs/vitepress/issues/2349",0.69181716,{"description":2935,"labels":2936,"number":2938,"owner":2871,"repository":2872,"state":2883,"title":2939,"updated_at":2940,"url":2941,"score":2942},"### Describe the bug\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nMy partial theme configuration is as follows:\r\n\r\n```\r\nimport DefaultTheme from 'vitepress/theme'\r\nimport { nav } from './nav'\r\nimport { sidebar } from './sidebar'\r\n\r\nexport const themeConfig: DefaultTheme.Config = {\r\n logo: '/logo.jpg',\r\n outlineTitle: '目录', // 右侧边栏的大纲标题文本\r\n lastUpdatedText: '最后更新', // 最后更新时间文本, 需配置 lastUpdated 为 true\r\n docFooter: {\r\n prev: '上一页',\r\n next: '下一页'\r\n },\r\n // 编辑链接\r\n editLink: {\r\n pattern: 'https://github.com/Charles7c/charles7c.github.io/edit/main/repos/:path',\r\n text: '在 GitHub 上编辑此页面'\r\n },\r\n ...\r\n nav, // 导航栏\r\n sidebar // 侧边栏\r\n}\r\n```\r\n\r\n### Expected behavior\r\n\r\nShow the docFooter I set up.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics\r\n Memory: 3.69 GB / 13.87 GB\r\nBinaries:\r\n Node: 14.18.1 - D:\\Develop\\nodejs\\node.EXE\r\n Yarn: 1.22.17 - D:\\Develop\\nodejs\\node_global\\yarn.CMD\r\n npm: 6.14.15 - D:\\Develop\\nodejs\\npm.CMD\r\nBrowsers:\r\n Internet Explorer: 11.0.19041.906\r\nnpmPackages:\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.",[2937],{"name":2868,"color":2869},1031,"The theme's docFooter configuration is invalid","2022-07-21T06:11:08Z","https://github.com/vuejs/vitepress/issues/1031",0.6948436,{"description":2944,"labels":2945,"number":2947,"owner":2871,"repository":2872,"state":2883,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### 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.",[2946],{"name":2868,"color":2869},1781,"在内容里使用 {xxx} 就会报错","2023-01-21T14:16:43Z","https://github.com/vuejs/vitepress/issues/1781",0.6954798,{"description":2953,"labels":2954,"number":2958,"owner":2871,"repository":2872,"state":2883,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Describe the bug\n\nwhen link uses `\\\\`, next page is always the current route, And the buttons on the previous page are not displayed\n\n### Reproduction\n\n[minimal reproduction](https://stackblitz.com/edit/vite-uvdizffs?file=docs%2F2.md,docs%2F3.md,docs%2F.vitepress%2Fconfig.ts)\n\n### Expected behavior\n\nThe reason why I have this problem is that I use node `fs` to read my file directory and generate sidebar through the `path` module. I have now solved the problem by replacing `\\\\` in link, but it took me quite a while to find this problem.\n\n### System Info\n\n```Text\nSystem:\n OS: Windows 11 10.0.22631\n CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz\n Memory: 1.07 GB / 7.90 GB\n Binaries:\n Node: 18.20.2 - C:\\Program Files\\nodejs\\node.EXE\n Yarn: 1.22.22 - C:\\Program Files\\nodejs\\yarn.CMD\n npm: 10.5.0 - C:\\Program Files\\nodejs\\npm.CMD\n pnpm: 9.12.2 - C:\\Program Files\\nodejs\\pnpm.CMD\n Browsers:\n Chrome: bookmarks.html\ninitial_preferences\n Edge: Chromium (129.0.2792.52)\n Internet Explorer: 11.0.22621.3527\n npmPackages:\n vitepress: ^1.6.3 => 1.6.3\n```\n\n### Additional context\n\n\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.",[2955],{"name":2956,"color":2957},"wont fix","EDEED1",4691,"docFooter parsing error when sidebar link uses \\\\","2025-04-15T05:42:33Z","https://github.com/vuejs/vitepress/issues/4691",0.6975111,["Reactive",2964],{},["Set"],["ShallowReactive",2967],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f3hrVwhJenTQjaAoXY_bc0_tlPtjZmgmmNuJcl2u3vd8":-1},"/vuejs/vitepress/3210"]