\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.",[2913],{"name":2914,"color":2915},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.6559079,{"description":2922,"labels":2923,"number":2925,"owner":2863,"repository":2864,"state":2887,"title":2926,"updated_at":2927,"url":2928,"score":2929},"### Describe the bug\n\nwhen configuring the search engine as the documentation mentions https://vitepress.dev/reference/default-theme-search#local-search, the app breaks:\r\n\r\n\r\n\r\n\r\n\n\n### Reproduction\n\n:)\n\n### Expected behavior\n\n\r\n\n\n### System Info\n\n```sh\n$ npx envinfo --system --npmPackages vitepress --binaries --browsers\r\nnpx: installed 1 in 2.16s\r\n\r\n System:\r\n OS: Windows 10 10.0.19045\r\n CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz\r\n Memory: 4.40 GB / 15.82 GB\r\n Binaries:\r\n Node: 14.19.0 - D:\\nodejs\\node.EXE\r\n Yarn: 1.22.17 - D:\\nodejs\\yarn.CMD\r\n npm: 6.14.16 - D:\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.57)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: latest => 1.0.0-beta.1\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.",[2924],{"name":2874,"color":2875},2435,"Local Search Error","2023-06-05T00:04:07Z","https://github.com/vuejs/vitepress/issues/2435",0.6595502,{"description":2931,"labels":2932,"number":2934,"owner":2863,"repository":2864,"state":2887,"title":2935,"updated_at":2936,"url":2937,"score":2938},"### Describe the bug\n\nIf I go to my project home and click on the link to a post, I am able to access the post. If I go to a direct link to a post, or I refresh my page while on a post I will get the \"Hydration completed but contains mismatches\" in the console and the page goes blank.\n\n### Reproduction\n\nI have included the source code at https://github.com/ak-tr/blog.akif.kr/tree/main\r\nThe website is also deployed to Firebase Hosting at https://blog.akif.kr\r\n\r\nTo reproduce, go to https://blog.akif.kr, and click on the first (and only) post. There are no issues. Now refresh, and you will get the said error.\n\n### Expected behavior\n\nPost loads on refresh or on when accessed directly.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.0\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 126.19 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.5.0 - ~/.nvm/versions/node/v20.5.0/bin/node\r\n npm: 9.8.0 - ~/.nvm/versions/node/v20.5.0/bin/npm\r\n Browsers:\r\n Chrome: 121.0.6167.160\r\n Safari: 17.0\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.40 => 1.0.0-rc.42\n```\n\n\n### Additional context\n\nI do use Cloudflare and have disabled minification for all files on that domain. I have purged all the cache and it has been over 18 hours since I made the change so even if the purge didn't work for whatever reason, I assume the cache would've died by now.\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.",[2933],{"name":2874,"color":2875},3562,"Hydration completed but contains mismatches","2024-02-16T00:04:28Z","https://github.com/vuejs/vitepress/issues/3562",0.65966034,{"description":2940,"labels":2941,"number":2943,"owner":2863,"repository":2864,"state":2887,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Describe the bug\r\n\r\nThis ones tricky. I think it may be related to #1918 \r\n\r\nOn prod, getting `hydration mismatch error` on my theme\r\nhttps://github.com/jcamp-code/vitepress-blog-theme\r\n\r\nOn initial load, the HTML is correct (you see the post excerpt) but it flashes away in milliseconds.\r\n\r\nWondering if it has to do with the v-html:\r\n\r\n```\r\n\u003Cp class=\"mb-5 font-light\" v-html=\"post.excerpt\" />\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.",[2942],{"name":2874,"color":2875},2293,"bug: hydration mismatch","2023-05-04T00:04:02Z","https://github.com/vuejs/vitepress/issues/2293",0.6602371,{"description":2949,"labels":2950,"number":2952,"owner":2863,"repository":2864,"state":2887,"title":2953,"updated_at":2954,"url":2955,"score":2956},"### 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.",[2951],{"name":2874,"color":2875},1143,"Hydration completed but contains mismatches when using Github pages","2023-01-21T14:28:46Z","https://github.com/vuejs/vitepress/issues/1143",0.66349435,["Reactive",2958],{},["Set"],["ShallowReactive",2961],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fkpmqriuIOD6yXs4oOY4RuatPFqN5aaMxyxBkTIavd6E":-1},"/vuejs/vitepress/3570"]