\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,"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.65572774,{"description":3166,"labels":3167,"number":3169,"owner":3149,"repository":3150,"state":3160,"title":3170,"updated_at":3171,"url":3172,"score":3173},"### 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.",[3168],{"name":3146,"color":3147},1092,"HMR faild if config in other files","2023-01-21T14:28:59Z","https://github.com/vuejs/vitepress/issues/1092",0.66186917,{"description":3175,"labels":3176,"number":3177,"owner":3149,"repository":3150,"state":3160,"title":3178,"updated_at":3179,"url":3180,"score":3181},"### Describe the bug\n\n如果nav配置了不同的url query但是是相同的url path,点击后浏览器地址栏不会变化\n\n### Reproduction\n\n```js\r\n{\r\n nav: [\r\n {\r\n text: 'test', items: [\r\n { text: 'a', link: '/?tag=a' },\r\n { text: 'b', link: '/?tag=b' },\r\n ]\r\n }\r\n ]\r\n}\r\n```\n\n### Expected behavior\n\n浏览器地址栏做出相应变化\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 10.15.7\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 367.99 MB / 32.00 GB\r\n Shell: 5.7.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.1.0 - ~/.nvm/versions/node/v16.1.0/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.1.0/bin/yarn\r\n npm: 7.12.1 - ~/.nvm/versions/node/v16.1.0/bin/npm\r\n Watchman: 2021.08.02.00 - /usr/local/bin/watchman\r\n Browsers:\r\n Chrome: 103.0.5060.134\r\n Safari: 13.1.3\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.",[],1107,"如果nav配置了不同的url query但是是相同的url path,点击后浏览器地址栏不会变化","2023-01-21T14:28:54Z","https://github.com/vuejs/vitepress/issues/1107",0.67476064,{"description":3183,"labels":3184,"number":3186,"owner":3149,"repository":3150,"state":3160,"title":3187,"updated_at":3188,"url":3189,"score":3190},"### Describe the bug\r\n\r\n运行npm run docs:build 命令,为什么打包会受node_modules的影响。该如何修复这个问题\r\n Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /Users/linjiahao7/Documents/Project/web-jac-plus/docs/node_modules/lodash-es/lodash.js\r\n\u003Cimg width=\"1286\" alt=\"image\" src=\"https://user-images.githubusercontent.com/56730345/160794817-069cf7d8-a148-4ec7-81a1-3f48651d86a6.png\">\r\n\r\n\r\n### Reproduction\r\n\r\nnpm run docs:build\r\n\r\n### Expected behavior\r\n\r\n怎么去修复这个问题,才能打包成功\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 11.3.1\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 217.70 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 14.17.3 - /usr/local/bin/node\r\n Yarn: 1.22.10 - /usr/local/bin/yarn\r\n npm: 6.14.13 - /usr/local/bin/npm\r\n Browsers:\r\n Firefox: 98.0.2\r\n Safari: 14.1\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.",[3185],{"name":3146,"color":3147},592,"build error","2023-01-21T14:26:52Z","https://github.com/vuejs/vitepress/issues/592",0.69336385,{"description":3192,"labels":3193,"number":3197,"owner":3149,"repository":3150,"state":3160,"title":3198,"updated_at":3199,"url":3200,"score":3201},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nhttps://github.com/meedfine/server-fs-allow.git\r\ntest win10,win11, it happened\r\n\r\n1. pnpm run docs\r\n2. visit http://localhost:5173/\r\n3.close\r\n4. pnpm run docs\r\nthen will happen,or retry 3,4\r\n\r\n\r\nhttps://user-images.githubusercontent.com/35157761/201807046-c6e534ae-722a-4149-86f0-aab839296381.mp4\r\n\r\n\n\n### Expected behavior\n\nwork well\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (4) x64 Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz\r\n Memory: 9.72 GB / 15.87 GB\r\n Binaries:\r\n Node: 16.14.2 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 8.5.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 78.0.3904.108\r\n Edge: Spartan (44.19041.1266.0), Chromium (107.0.1418.42)\r\n Internet Explorer: 11.0.19041.1566\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.",[3194],{"name":3195,"color":3196},"build","377ba8",1608,"mono+dev+enhanceApp+fs.server.strict: sometimes run error","2023-01-21T14:20:33Z","https://github.com/vuejs/vitepress/issues/1608",0.69685185,{"description":3203,"labels":3204,"number":3205,"owner":3149,"repository":3150,"state":3160,"title":3206,"updated_at":3207,"url":3208,"score":3209},"### Describe the bug\n\nI wrote a markdown checklist using the following syntax and is rendered as an unordered list rather than a checklist.\r\n\r\n`index,md`\r\n\r\n```\r\n- [ ] Mercury\r\n- [ ] Saturn\r\n- [ ] Earth\r\n- [ ] Mars\r\n```\r\n\r\nWhat is rendered\r\n\r\n\u003Cimg width=\"274\" alt=\"Screen Shot 2021-10-11 at 8 46 06 PM\" src=\"https://user-images.githubusercontent.com/27181419/136872493-20cc4a0c-a1ac-4cdf-ac20-e6952f8f4819.png\">\r\n\n\n### Reproduction\n\nCreated basic project based on the steps on the [Getting Started](https://vitepress.vuejs.org/guide/getting-started.html).\n\n### Expected behavior\n\n- [ ] Mercury\r\n- [ ] Saturn\r\n- [ ] Earth\r\n- [ ] Mars\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 11.2.3\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 1.18 GB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 14.15.0 - /usr/local/bin/node\r\n Yarn: 1.22.11 - /usr/local/bin/yarn\r\n npm: 7.20.0 - /usr/local/bin/npm\r\n Browsers:\r\n Chrome: 94.0.4606.81\r\n Safari: 14.0.3\r\n npmPackages:\r\n vitepress: ^0.20.0 => 0.20.0\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.",[],413,"Not Rendering markdown checklist","2023-01-21T14:25:12Z","https://github.com/vuejs/vitepress/issues/413",0.69740415,{"description":3211,"labels":3212,"number":3214,"owner":3149,"repository":3150,"state":3160,"title":3215,"updated_at":3216,"url":3217,"score":3218},"### Describe the bug\n\nI use the global variable window in component, It will cause the content below it to be rendered repeatedly.\r\n**Also, it only happens after the build.**\n\n### Reproduction\n\n```\r\n// Component.vue\r\n\r\n\u003Cscript setup>\r\n const url = `${window.location.protocol}//www.xxx.com`;\r\n\u003C/script>\r\n\r\n\u003Ctemplate>\r\n \u003Ch1>{{ url }}\u003C/h1>\r\n\u003C/template>\r\n```\r\n\r\n\r\n```\r\n// index.md\r\n\r\n\u003CComponent />\r\n\r\n// Here! `- test content ...` repeat render! it shows two.\r\n- test content ...\r\n```\n\n### Expected behavior\n\nSuccessfully rendered only once.\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 12.5\r\n CPU: (8) x64 Apple M1\r\n Memory: 43.79 MB / 8.00 GB\r\n Shell: 5.8.1 - /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 - /opt/homebrew/bin/yarn\r\n npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm\r\n Browsers:\r\n Chrome: 104.0.5112.101\r\n Safari: 15.6\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.13 => 1.0.0-alpha.13\n```\n\n\n### Additional context\n\n\u003Cimg width=\"1109\" alt=\"image\" src=\"https://user-images.githubusercontent.com/50652358/187465157-4ea24772-f3ef-4ec3-8717-298579837525.png\">\r\n\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.",[3213],{"name":3146,"color":3147},1261,"Unexpected render after the build.","2023-01-21T14:26:49Z","https://github.com/vuejs/vitepress/issues/1261",0.7023412,{"description":3220,"labels":3221,"number":3223,"owner":3149,"repository":3150,"state":3160,"title":3224,"updated_at":3225,"url":3226,"score":3227},"**Describe the bug**\r\n\r\nHMR not working on import code snippets\r\n\r\n**To Reproduce**\r\n\r\nSteps to reproduce the behavior: \r\n\r\nsee this [video](https://www.youtube.com/watch?v=pRhWVOUJ-IQ)\r\n\r\n- git clone https://github.com/febug/vitepress-import-code-snippet.git\r\n- yarn\r\n- yarn serve\r\n- edit `hello.vue` content\r\n\r\n**Expected behavior**\r\n\r\nauto update code\r\n\r\n**System Info**\r\n- vitepress version: 0.7.2\r\n- Node version: v13.14.0\r\n- OS version: osx 10.15.3\r\n\r\n",[3222],{"name":3195,"color":3196},117,"HMR not working on import code snippets","2023-10-01T00:04:50Z","https://github.com/vuejs/vitepress/issues/117",0.7045435,{"description":3229,"labels":3230,"number":3232,"owner":3149,"repository":3150,"state":3160,"title":3233,"updated_at":3234,"url":3235,"score":3236},"### 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.",[3231],{"name":3146,"color":3147},2769,"引入 echarts 编译时报错","2023-08-18T00:04:16Z","https://github.com/vuejs/vitepress/issues/2769",0.70938295,["Reactive",3238],{},["Set"],["ShallowReactive",3241],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fqUJ2NNcWX0gLOcVtfEF-TcRwJp9-6wXEulq_MaOKaro":-1},"/vuejs/vitepress/333"]