\n\n\u003Cimg width=\"1460\" height=\"328\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/3b17c9ae-2639-4ca1-bec2-885d45b00416\" />\n\n### Expected behavior\n\nPage `http://localhost:5173/` should response every savings.\n\n### System Info\n\n```Text\nSystem:\n OS: Windows 11 10.0.26100\n CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-13700K\n Memory: 2.93 GB / 8.58 GB\nBinaries:\n Node: 22.17.1 - C:\\Program Files\\nodejs\\node.EXE\n npm: 11.4.2 - C:\\Program Files\\nodejs\\npm.CMD\nBrowsers:\n Edge: Chromium (139.0.3405.86)\nnpmPackages:\n vitepress: ^2.0.0-alpha.10 => 2.0.0-alpha.10\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.",[],4909,"vuejs","vitepress","closed","hmr update only works once in version 2.0.0-alpha.10","2025-08-14T05:08:24Z","https://github.com/vuejs/vitepress/issues/4909",0.64509,{"description":3154,"labels":3155,"number":3159,"owner":3146,"repository":3147,"state":3148,"title":3160,"updated_at":3161,"url":3162,"score":3163},"### Describe the bug\n\n\r\n\r\nI use the config file out of .vitepress, I just import it in `.vitepress/config.ts`\r\n\r\nwhen I modify `.vitepress/config.ts`, hot reload works well, but I modify the outer config.ts, hot reloading does not work.\r\n\n\n### Reproduction\n\nJust modify the outer config.ts, the page does not get update.\n\n### Expected behavior\n\nI think vitepress should track the import modules graph in .vitepress/config.ts, and hot reload all of them.\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 12.0.1\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 668.14 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 16.14.1 - ~/.volta/tools/image/node/16.14.1/bin/node\r\n Yarn: 1.22.15 - ~/.yarn/bin/yarn\r\n npm: 7.10.0 - ~/.volta/tools/image/npm/7.10.0/bin/npm\r\n Browsers:\r\n Chrome: 99.0.4844.74\r\n Edge: 98.0.1108.55\r\n Firefox: 95.0.2\r\n Safari: 15.1\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.",[3156],{"name":3157,"color":3158},"build","377ba8",581,"When modifying config.ts imported outside of .vitepress folder, it is not hot reload","2023-01-21T14:28:57Z","https://github.com/vuejs/vitepress/issues/581",0.6645617,{"description":3165,"labels":3166,"number":3170,"owner":3146,"repository":3147,"state":3148,"title":3171,"updated_at":3172,"url":3173,"score":3174},"### Describe the bug\n\n```ts\r\n// docs/.vitepress/common.ts\r\nexport const title = 'xxx'\r\n```\r\n\r\n```ts\r\n// docs/.vitepress/config.ts\r\nimport { title } from './common'\r\nexport default defineConfig({\r\n title\r\n})\r\n```\r\n\r\nHMR faild if i mofidy `title` in `common.ts`\n\n### Reproduction\n\nMofidy `title` in `common.ts`, page title will not change\n\n### Expected behavior\n\npage title will change\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 12.3.1\r\n CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz\r\n Memory: 286.90 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 14.19.3 - ~/.nvm/versions/node/v14.19.3/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v14.19.3/bin/yarn\r\n npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm\r\n Browsers:\r\n Chrome: 103.0.5060.134\r\n Firefox: 103.0\r\n Safari: 15.4\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.4 => 1.0.0-alpha.4\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.",[3167],{"name":3168,"color":3169},"bug: pending triage","e99695",1092,"HMR faild if config in other files","2023-01-21T14:28:59Z","https://github.com/vuejs/vitepress/issues/1092",0.6758904,{"description":3176,"labels":3177,"number":3179,"owner":3146,"repository":3147,"state":3148,"title":3180,"updated_at":3181,"url":3182,"score":3183},"### 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.",[3178],{"name":3168,"color":3169},1781,"在内容里使用 {xxx} 就会报错","2023-01-21T14:16:43Z","https://github.com/vuejs/vitepress/issues/1781",0.678087,{"description":3185,"labels":3186,"number":3188,"owner":3146,"repository":3147,"state":3148,"title":3189,"updated_at":3190,"url":3191,"score":3192},"### 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.",[3187],{"name":3168,"color":3169},2349,"热更新","2023-05-24T00:03:54Z","https://github.com/vuejs/vitepress/issues/2349",0.68661326,{"description":3194,"labels":3195,"number":3197,"owner":3146,"repository":3147,"state":3148,"title":3198,"updated_at":3199,"url":3200,"score":3201},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-pzpqo8?file=docs%2F.vitepress%2Ftheme%2Fx.ts\r\n\r\n在 `theme/x.ts` 中引入了 `echarts` ,开发时是可以的,页面正常显示。构建时报错。\r\n\r\n\r\n\r\n**如果是一个纯 vite 项目,构建不错误**\n\n### Expected behavior\n\n正常编译不出错\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.4\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 48.46 MB / 32.00 GB\r\n Shell: 3.2.57 - /bin/bash\r\n Binaries:\r\n Node: 16.18.1 - ~/Library/Caches/fnm_multishells/19014_1691646234602/bin/node\r\n Yarn: 1.22.19 - ~/Library/pnpm/yarn\r\n npm: 8.19.2 - ~/Library/Caches/fnm_multishells/19014_1691646234602/bin/npm\r\n pnpm: 8.6.8 - ~/Library/pnpm/pnpm\r\n npmPackages:\r\n vitepress: 1.0.0-rc.4 => 1.0.0-rc.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.",[3196],{"name":3168,"color":3169},2769,"引入 echarts 编译时报错","2023-08-18T00:04:16Z","https://github.com/vuejs/vitepress/issues/2769",0.6913015,{"description":3203,"labels":3204,"number":3208,"owner":3146,"repository":3147,"state":3148,"title":3209,"updated_at":3210,"url":3211,"score":3212},"### Describe the bug\r\nWhen change code Tsx file and save, hmr not support hot update watch.\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nnull\r\n\r\n### Expected behavior\r\n\r\nSupport Jsx / Tsx HMR \r\n\r\n### System Info\r\n\r\n```shell\r\nnull\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.",[3205],{"name":3206,"color":3207},"need more info","bdbefc",1985,"[VuePress HMR] Not Support Hot Update Jsx / Tsx code","2023-03-18T00:04:25Z","https://github.com/vuejs/vitepress/issues/1985",0.6914214,{"description":3214,"labels":3215,"number":3217,"owner":3146,"repository":3147,"state":3148,"title":3218,"updated_at":3219,"url":3220,"score":3221},"### 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.",[3216],{"name":3168,"color":3169},2772,"升级vitepress后部署到阿里云服务器后,刷新页面会404","2023-08-18T00:04:13Z","https://github.com/vuejs/vitepress/issues/2772",0.6973845,{"description":3223,"labels":3224,"number":3226,"owner":3146,"repository":3147,"state":3148,"title":3227,"updated_at":3228,"url":3229,"score":3230},"### 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.",[3225],{"name":3168,"color":3169},2408,"链接点不了了,新版","2023-06-02T00:04:17Z","https://github.com/vuejs/vitepress/issues/2408",0.69843745,{"description":3232,"labels":3233,"number":3235,"owner":3146,"repository":3147,"state":3148,"title":3236,"updated_at":3237,"url":3238,"score":3239},"\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",[3234],{"name":3168,"color":3169},307,"index.md 乱码如何解决? ","2023-01-21T16:22:22Z","https://github.com/vuejs/vitepress/issues/307",0.70020914,["Reactive",3241],{},["Set"],["ShallowReactive",3244],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fXH7mD5QlBADc13-OT0nwbp-Ejv5svBCf0FQNo2YObd4":-1},"/vuejs/vitepress/372"]