\n这是知乎网站的热搜榜\n\n\u003Cimg width=\"807\" height=\"942\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/092b0749-e7d2-4b00-bd5b-172b6725c892\" />\n\n### Reproduction\n\n希望能更新接口,获取最新热搜数据\n\n### Expected behavior\n\n希望能更新接口,获取最新热搜数据\n\n### System Info\n\n```Text\n1.6.20\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.",[3181],{"name":3146,"color":3147},4866,"知乎热搜榜不更新","2025-07-30T04:05:01Z","https://github.com/vuejs/vitepress/issues/4866",0.6245913,{"description":3188,"labels":3189,"number":3191,"owner":3152,"repository":3153,"state":3164,"title":3192,"updated_at":3193,"url":3194,"score":3195},"### Describe the bug\n\n\r\n\r\n打包报错css问题,css没有任何问题,theme里全局引入组件库的,版本\"vitepress\": \"1.0.0-beta.1\"\n\n### Reproduction\n\nv \"vitepress\": \"1.0.0-beta.1\"\n\n### Expected behavior\n\n正常打包\n\n### System Info\n\n```sh\nnpm run build\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.",[3190],{"name":3146,"color":3147},2439,"打包报错Unexpected token '.' 问题","2023-06-08T00:04:08Z","https://github.com/vuejs/vitepress/issues/2439",0.62467456,{"description":3197,"labels":3198,"number":3200,"owner":3152,"repository":3153,"state":3164,"title":3201,"updated_at":3202,"url":3203,"score":3204},"### 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.",[3199],{"name":3146,"color":3147},4406,"开发服务器模式下 Chrome 浏览器视口宽度计算错误","2025-01-02T04:43:06Z","https://github.com/vuejs/vitepress/issues/4406",0.6299969,{"description":3206,"labels":3207,"number":3209,"owner":3152,"repository":3153,"state":3164,"title":3210,"updated_at":3211,"url":3212,"score":3213},"### Describe the bug\n\nfollow up to #2612\n\n### Reproduction\n\ndiscussed in #2612\n\n### Expected behavior\n\nclearer instructions\n\n### System Info\n\n```sh\nnpm 8.19.4\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.",[3208],{"name":3146,"color":3147},2781,"follow up to #2612 - missing documentation information","2023-08-21T00:04:10Z","https://github.com/vuejs/vitepress/issues/2781",0.6313826,{"description":3215,"labels":3216,"number":3218,"owner":3152,"repository":3153,"state":3164,"title":3219,"updated_at":3220,"url":3221,"score":3222},"### 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.",[3217],{"name":3146,"color":3147},2349,"热更新","2023-05-24T00:03:54Z","https://github.com/vuejs/vitepress/issues/2349",0.6324574,{"description":3224,"labels":3225,"number":3227,"owner":3152,"repository":3153,"state":3164,"title":3228,"updated_at":3229,"url":3230,"score":3231},"### 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.",[3226],{"name":3146,"color":3147},1781,"在内容里使用 {xxx} 就会报错","2023-01-21T14:16:43Z","https://github.com/vuejs/vitepress/issues/1781",0.63400185,{"description":3233,"labels":3234,"number":3236,"owner":3152,"repository":3153,"state":3164,"title":3237,"updated_at":3238,"url":3239,"score":3240},"### Describe the bug\n\n目前更新到RC.35,文件后缀链接默认增加了.html后缀\n\n### Reproduction\n\n### 我在md文件中写:\r\n```\r\n[nginx.conf配置文件下载](/nginx/nginx.conf)\r\n```\r\n### `public`文件夹中也有这个文件\r\n\r\n### 但当我点开链接,RC.34版本会下载这个文件,但是RC.35则是自动在链接后面增加了html后缀,导致无法正常下载文件。\r\n\r\n\n\n### Expected behavior\n\n如上所述\n\n### System Info\n\n```Text\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.",[3235],{"name":3146,"color":3147},3408,"目前更新到RC.35,文件后缀链接默认增加了.html后缀","2024-01-13T00:04:52Z","https://github.com/vuejs/vitepress/issues/3408",0.63444,["Reactive",3242],{},["Set"],["ShallowReactive",3245],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f-qYd_OOi4afgzDnA8VWlxOyvwsCJMj4X0_42kLiT38o":-1},"/vuejs/vitepress/4773"]