\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.",[2912],{"name":2913,"color":2914},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.65280086,{"description":2921,"labels":2922,"number":2924,"owner":2874,"repository":2875,"state":2886,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### Describe the bug\n\n标题: 开发服务器模式下 Chrome 浏览器视口宽度计算错误\r\n\r\n## 问题描述\r\n在使用 VitePress 开发模式(`vitepress dev`)时,浏览器视口宽度被错误计算。相同的项目在预览/服务模式(`vitepress serve`)下却能正常工作。\r\n\r\n\r\n\r\n\r\n\r\n\n\n### Reproduction\n\n### 复现步骤\r\n1. 创建一个新的 VitePress 项目\r\n2. 运行 `vitepress dev`\r\n3. 打开 Chrome 开发者工具\r\n4. 在控制台检查 `window.innerWidth`\r\n5. 在不同的浏览器标签页之间切换\n\n### Expected behavior\n\n### 预期行为\r\n- 视口宽度应该与实际浏览器窗口宽度相匹配\r\n- `window.innerWidth` 应返回正确的浏览器窗口宽度(例如:在 1440px 宽的窗口中应返回 1440px)\r\n### 实际行为\r\n- 视口宽度明显小于实际窗口(约为 341px)\r\n- 即使在 Chrome 窗口大小为 1024x768 或更大时也会出现此问题\r\n- 同样的页面在不同的浏览器标签页中显示正确的宽度(1440px)\r\n- 使用 `vitepress serve` 运行时不存在此问题\r\n\n\n### System Info\n\n```Text\n### 环境信息\r\n- VitePress 版本:[1.1.4]\r\n- Chrome 版本:[131.0.6778.86(正式版本)]\r\n- 操作系统:[win10]\n```\n\n\n### Additional context\n\n### 补充说明\r\n- 此问题仅在开发模式下出现\r\n- 此问题影响整个布局,因为所有元素都使用了错误的宽度进行渲染\r\n- 在浏览器标签页之间切换时,相同窗口大小会显示不同的 `window.innerWidth` 值\r\n- 使用Edge、fifefox测试的时候是正常的,下面有对比图\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.",[2923],{"name":2868,"color":2869},4406,"开发服务器模式下 Chrome 浏览器视口宽度计算错误","2025-01-02T04:43:06Z","https://github.com/vuejs/vitepress/issues/4406",0.65372205,{"description":2930,"labels":2931,"number":2933,"owner":2874,"repository":2875,"state":2886,"title":2934,"updated_at":2935,"url":2936,"score":2937},"### Describe the bug\n\n点了没反应\n\n### Reproduction\n\n?\n\n### Expected behavior\n\n跳转啊\n\n### System Info\n\n```sh\nwin10\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.",[2932],{"name":2868,"color":2869},2408,"链接点不了了,新版","2023-06-02T00:04:17Z","https://github.com/vuejs/vitepress/issues/2408",0.65568644,{"description":2939,"labels":2940,"number":2944,"owner":2874,"repository":2875,"state":2886,"title":2945,"updated_at":2946,"url":2947,"score":2948},"### Describe the bug\n\nThe aside's outline marker will have an annoying flick when navigating towards above. All `vitepress` sites seems have this problem.\r\n\r\nThe video should be enough to demo the issue. (Sorry for the bad quality)\n\n### Reproduction\n\nhttps://github.com/vuejs/vitepress/assets/45784210/d21095b6-a769-45c5-9119-0fc88f041c3f\n\n### Expected behavior\n\nNo flick\n\n### System Info\n\n```sh\nChrome 114\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.",[2941],{"name":2942,"color":2943},"theme","0754FB",2665,"🐞Bug: `aside`'s outline marker is flicking when navigating towards above","2023-08-15T00:04:22Z","https://github.com/vuejs/vitepress/issues/2665",0.6579246,{"description":2950,"labels":2951,"number":2952,"owner":2874,"repository":2875,"state":2886,"title":2953,"updated_at":2954,"url":2955,"score":2956},"### Describe the bug\n\ncontent 部分没有 overflow:hidden 导致很长的滚动条(也有可能是我的图片太大?)\r\n\r\n[github here](https://github.com/Mt-Youya/DeepLearning-500-questions)\r\n\r\n[site here](https://deeplearning-500-questions.pages.dev/zh-cn/ch02_%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E5%9F%BA%E7%A1%80/%E7%AC%AC%E4%BA%8C%E7%AB%A0_%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E5%9F%BA%E7%A1%80.html)\n\n### Reproduction\n\n我fork 别人的仓库,不是我自己写的, 它原本用的是 docsify 我想提个pr用vitepress 试试,然后就出现了这个bug\n\n### Expected behavior\n\n没有滚动条\n\n### System Info\n\n```Text\nVersion 122.0.6261.112 (Official Build) (64-bit)\r\nwin11\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.",[],3644,"CSS bug","2024-03-19T00:07:30Z","https://github.com/vuejs/vitepress/issues/3644",0.6618478,{"description":2958,"labels":2959,"number":2961,"owner":2874,"repository":2875,"state":2886,"title":2962,"updated_at":2963,"url":2964,"score":2965},"### Describe the bug\n\nWhen I click on an item above the currently active item in the outline, the marker first appears above the target item, and then appears in the correct place. Is this intentional?\r\n\r\nhttps://github.com/vuejs/vitepress/assets/84114146/77ad4b5a-dc13-4acd-8704-f261124594f9\n\n### Reproduction\n\nThe VitePress official website exhibits the same phenomenon. \r\n\n\n### Expected behavior\n\nThe marker appears in the correct place at the first time\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics\r\n Memory: 3.84 GB / 14.85 GB\r\n Binaries:\r\n Node: 16.19.1 - D:\\Environment\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - D:\\Environment\\nodejs\\yarn.CMD\r\n npm: 8.19.3 - D:\\Environment\\nodejs\\npm.CMD\r\n pnpm: 8.6.5 - D:\\Environment\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.1992.0), Chromium (115.0.1901.183)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: 1.0.0-beta.7 => 1.0.0-beta.7\n```\n\n\n### Additional context\n\nChanging \"throttleAndDebounce\" in the [outline.js](https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/composables/outline.ts) to a simple debounce function can solve this issue.\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.",[2960],{"name":2868,"color":2869},2725,"Unexpected outline behavior","2023-08-11T00:04:32Z","https://github.com/vuejs/vitepress/issues/2725",0.6625927,["Reactive",2967],{},["Set"],["ShallowReactive",2970],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fi3ef3ZWRkpn62vMHv3_ZHH8k4nynb52Ecwpo4uGWqKA":-1},"/vuejs/vitepress/4534"]