\r\n```\r\n\r\nThis looks related:\r\nhttps://github.com/vuejs/core/issues/6435\r\n\r\nBut I did the [workaround](https://play.vuejs.org/#__SSR__eNpNjz8LgzAQxb/KkSUKoru1hdKlQ7t1qx1Ke6JgTEhOESTfvfmjxRvC5d27H+8WdlYqn0ZkJasIherfhKd6AKi+3RQa115GQ1I8cCYoyb3HmnFCQ7xmUER3Ee1VsYNU5qM7RWCQRuX+nVBSE+xojZYCeF5cpAgpuCfErRPL2Cb7cKv6pyzQgl0BcRPnMPhi8x57Z/C5lJbKlE+Xdib+yrwU0iRhkEYTgHaaHiBJ4bjeDNAm3N3Es83jqxsG1NfH/VZGcu65gerLpgffWifY/SH2B6Tydgw=) suggested but it made no difference. It's like `excerpt` is not getting loaded\r\n\r\n### Reproduction\r\n\r\nEasily seen here:\r\nhttps://deploy-preview-2--vitepress-blog.netlify.app/blog/\r\n\r\nGo to it and then reload the page and you'll see the hydration mismatch\r\n\r\nhttps://github.com/jcamp-code/vitepress-blog-theme\r\n\r\nClone it\r\n\r\n```pnpm serve```\r\n\r\nGo to: \r\nhttp://localhost:4173/blog/\r\n\r\nLoaded directly, you'll see the excerpts are missing. If you go to another page and come back it displays correctly.\r\n\r\n### Expected behavior\r\n\r\nCorrect display of page upon hydration\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 13.3.1\r\n CPU: (12) arm64 Apple M2 Pro\r\n Memory: 94.23 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.14.1 - /usr/local/bin/node\r\n npm: 9.5.0 - /usr/local/bin/npm\r\n Browsers:\r\n Chrome: 112.0.5615.137\r\n Firefox: 111.0.1\r\n Safari: 16.4\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.74 => 1.0.0-alpha.74\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.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3058],{"name":3048,"color":3049},2293,"bug: hydration mismatch","2023-05-04T00:04:02Z","https://github.com/vuejs/vitepress/issues/2293",0.63790315,{"description":3065,"labels":3066,"number":3067,"owner":3027,"repository":3028,"state":3039,"title":3068,"updated_at":3069,"url":3070,"score":3071},"### Describe the bug\n\nAdding `[[toc]]` generates `div` inside `p` element and causes a hydration mismatch\n\n### Reproduction\n\n```md\r\n\r\n---\r\ntitle: Testing\r\n---\r\n\r\n[[toc]]\r\n\r\n## Test 1\r\n\r\ntest\r\n\r\n## Test 2\r\n\r\ntest\r\n\r\n```\r\nthis generates:\r\n```html\r\n...\r\n\u003Cp>\r\n\u003Cdiv class=\"table-of-contents\">\u003Cul>\u003Cli>\u003Ca href=\"#test-1\">Test 1\u003C/a>\u003C/li>\u003Cli>\u003Ca href=\"#test-2\">Test 2\u003C/a>\u003C/li>\u003C/ul>\u003C/div>\r\n\u003C/p>\r\n...\r\n```\r\nand a `div` element cannot be inside a `p` element so it causes a hydration mismatch when directly visiting the page\n\n### Expected behavior\n\nthe `div` should not be inside the `p`\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.4 Alpine Linux\r\n CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz\r\n Memory: 1.05 GB / 5.80 GB\r\n Container: Yes\r\n Shell: 1.32.1 - /bin/ash\r\n Binaries:\r\n Node: 16.8.0 - /usr/local/bin/node\r\n npm: 7.21.0 - /usr/local/bin/npm\r\n npmPackages:\r\n vitepress: ^0.16.1 => 0.16.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/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.",[],388,"Adding [[toc]] generates div inside p element and causes a hydration mismatch","2023-01-21T14:35:54Z","https://github.com/vuejs/vitepress/issues/388",0.6550722,{"description":3073,"labels":3074,"number":3076,"owner":3027,"repository":3028,"state":3039,"title":3077,"updated_at":3078,"url":3079,"score":3080},"### Describe the bug\r\n\r\nFor example the page https://blog.jaggerwang.net/basicai-annotation-specification/ cannot access directly, but it's ok when add `index.html` suffix, and other pages did not have this problem, such as https://blog.jaggerwang.net/basicai-technical-architecture/ . So it seems related to the content of page?\r\n\r\n\u003Cimg width=\"1512\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/1255011/3a69f282-d002-4194-b7ca-3b3075616883\">\r\n\r\nIt's ok when running in local dev and preview mode, and there is no error showing in the browser console or terminal console.\r\n\r\n\u003Cimg width=\"1512\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/1255011/82b87b50-f21a-430e-bb4e-893eb3bf9c52\">\r\n\r\n### Reproduction\r\n\r\nProject structure:\r\n\r\n\u003Cimg width=\"1624\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/1255011/d3f2d9e0-5dc8-4344-9674-61433c5a8322\">\r\n\r\nAliyun OSS config:\r\n\r\n\u003Cimg width=\"1306\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/1255011/d30acd18-d20c-44f2-a872-61bd981d0bcb\">\r\n\r\nBuid with GitHub actions, but the html is same with local build.\r\n\r\n\u003Cimg width=\"1624\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/1255011/f57bef3c-2d76-47c4-b18a-4b4a7b696771\">\r\n\r\n### Expected behavior\r\n\r\nNo error.\r\n\r\n### System Info\r\n\r\n```Text\r\nAliyun OSS\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.",[3075],{"name":3048,"color":3049},3322,"Refresh some pages with error \"Hydration completed but contains mismatches.\" when deployed on Aliyun OSS.","2023-12-21T00:04:35Z","https://github.com/vuejs/vitepress/issues/3322",0.6573816,{"description":3082,"labels":3083,"number":3084,"owner":3027,"repository":3028,"state":3039,"title":3051,"updated_at":3085,"url":3086,"score":3087},"### Describe the bug\n\nIt will report errors in production\r\n\r\n\r\napp.b77605b4.js:1 Hydration completed but contains mismatches\n\n### Reproduction\n\n*\n\n### Expected behavior\n\nIt will report errors in production\r\n\r\n\r\napp.b77605b4.js:1 Hydration completed but contains mismatches\n\n### System Info\n\n```shell\nwindows\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.",[],1627,"2023-01-21T16:04:00Z","https://github.com/vuejs/vitepress/issues/1627",0.6669054,{"description":3089,"labels":3090,"number":3092,"owner":3027,"repository":3028,"state":3039,"title":3093,"updated_at":3094,"url":3095,"score":3096},"### Describe the bug\n\nThe browser console prints Hydration completed but contains mismatches when deploying the site using Github pages. And the page switch does not work as expected.\r\n\r\n\u003Cimg width=\"404\" alt=\"image\" src=\"https://user-images.githubusercontent.com/25716486/183507530-a390b50c-49e1-4349-a5ba-e1add6883280.png\">\r\n\u003Cimg width=\"1015\" alt=\"image\" src=\"https://user-images.githubusercontent.com/25716486/183507583-86f736b4-7954-40e1-a5aa-a89298d68c72.png\">\r\n\n\n### Reproduction\n\nHere is a reproduced repo: https://github.com/Corona-Studio/CSKB_Hosting\n\n### Expected behavior\n\nThe page switch buttons should work after a click.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz\r\n Memory: 13.26 GB / 31.82 GB\r\n Binaries:\r\n Node: 18.4.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\node_modules\\.bin\\yarn.CMD\r\n npm: 8.13.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (104.0.1293.47)\r\n Internet Explorer: 11.0.22000.120\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.",[3091],{"name":3048,"color":3049},1143,"Hydration completed but contains mismatches when using Github pages","2023-01-21T14:28:46Z","https://github.com/vuejs/vitepress/issues/1143",0.66783637,{"description":3098,"labels":3099,"number":3101,"owner":3027,"repository":3028,"state":3039,"title":3102,"updated_at":3103,"url":3104,"score":3105},"### Describe the bug\r\n\r\nWhen I add some url params `?a=1&b=2` after the page's URL, the console log an error `Hydration completed but contains mismatches.` and the page rendering is incorrect\r\n\r\n### Reproduction\r\n\r\n1. Clone from `https://github.com/GlobeMC/crashmc.com`\r\n2. `pnpm run docs:build && pnpm run docs:preview`\r\n3. Access \u003Chttp://localhost:4173/client/system.html> and \u003Chttp://localhost:4173/client/system.html?someparam=somevalue>\r\n4. The page without param will works well, but the page with the URL param will somehow mixed with the home page's content\r\n\r\n### Expected behavior\r\n\r\nThe two pages should looks exactly same.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 14.1.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 149.67 MB / 16.00 GB\r\n Shell: 3.2.57 - /bin/bash\r\n Binaries:\r\n Node: 21.4.0 - /opt/homebrew/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 10.3.0 - /opt/homebrew/bin/npm\r\n pnpm: 8.6.12 - /opt/homebrew/bin/pnpm\r\n Browsers:\r\n Chrome: 120.0.6099.216\r\n npmPackages:\r\n vitepress: 1.0.0-rc.39 => 1.0.0-rc.39\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nI am not sure if it is a vitepress route issue or if it's a pwa route issue, I tried made an example without pwa but it don't have problem\r\n\r\nA live example can be \u003Chttps://beta.crashmc.com/analyzer.html> and \u003Chttps://beta.crashmc.com/analyzer.html?>\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.",[3100],{"name":3048,"color":3049},3469,"\"Hydration completed but contains mismatches\" when path contains URL params","2024-01-26T00:04:26Z","https://github.com/vuejs/vitepress/issues/3469",0.6723338,{"description":3107,"labels":3108,"number":3112,"owner":3027,"repository":3028,"state":3039,"title":3113,"updated_at":3114,"url":3115,"score":3116},"### Describe the bug\n\nVite supports defining a relative `base` (`./`) to use when deploying to unknown subpaths.\r\n\r\nVitepress breaks this behavior and instead renders a 404 (hydration mismatch) error.\n\n### Reproduction\n\nuse the default theme installation with the additional vite `base` config:\r\n\r\n```ts\r\nimport { defineConfig } from 'vitepress'\r\n\r\n// https://vitepress.dev/reference/site-config\r\nexport default defineConfig({\r\n title: \"My Awesome Project\",\r\n description: \"A VitePress Site\",\r\n // ...\r\n vite: {\r\n base: './', // \u003C-- this breaks the site generation (homepage shows 404 & hydration mismatch)\r\n },\r\n})\r\n```\n\n### Expected behavior\n\nIt should work just like vite works.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.3.1\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 450 MB / 64.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node\r\n npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm\r\n Browsers:\r\n Chrome: 121.0.6167.160\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.42 => 1.0.0-rc.42\n```\n\n\n### Additional context\n\nNot sure if #3057 describes the same issue but it seems related.\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.",[3109],{"name":3110,"color":3111},"wont fix","EDEED1",3576,"Relative base breaks site generation","2024-02-23T00:05:14Z","https://github.com/vuejs/vitepress/issues/3576",0.6775354,["Reactive",3118],{},["Set"],["ShallowReactive",3121],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fRyxvC_qtMtnQUZoM1XZdT-u_LgFLAIs5tv2Nl8DMVoE":-1},"/vuejs/vitepress/521"]