\r\n \u003C/template>\r\n\u003C/ClientOnly>\r\n```\r\nAnd I feel like `ClientOnly` doesn't seem to work. I'm not sure if it should be used here.\r\n\r\nmy package.json\r\n```json\r\n{\r\n \"name\": \"vitepress\",\r\n \"version\": \"1.0.0\",\r\n \"description\": \"\",\r\n \"main\": \"index.js\",\r\n \"scripts\": {\r\n \"dev\": \"vitepress dev docs --open\",\r\n \"build\": \"vitepress build docs\",\r\n \"serve\": \"vitepress serve docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"\",\r\n \"license\": \"ISC\",\r\n \"devDependencies\": {\r\n \"@algolia/client-search\": \"^4.14.2\",\r\n \"vitepress\": \"1.0.0-alpha.45\"\r\n },\r\n \"dependencies\": {\r\n \"browser-tool\": \"^1.0.3\"\r\n }\r\n}\r\n```\r\n`browser-tool` can do this: Browser analysis / browser detection / browser identification / browser judgment / UA parsing-user agent, operating system information\r\n\r\nAll in all, the reason why I do this is that edge browsers do not support avif image format. I need to judge that if the user's browser is edge, it will remind users to change their browsers to read blogs for a better experience.\r\n\r\n\n\n### Reproduction\n\nIf it's convenient for you, this is my repo:\r\nhttps://github.com/you-hengh/myblog_vitepress\r\n\r\nIn short, in the development environment, there will be a notification when opening the homepage with edge browser.\r\n\r\n\u003Cimg width=\"612\" alt=\"image\" src=\"https://user-images.githubusercontent.com/34816426/218310448-032c69bc-4c3f-44e3-997a-5080761fe69c.png\">\r\n\r\n\r\nBut in a production environment, edge visits the home page without this notification, which is not normal.\r\n\r\n\u003Cimg width=\"517\" alt=\"image\" src=\"https://user-images.githubusercontent.com/34816426/218310530-9b1f1aa7-e189-473d-9afe-0bccc7fc336d.png\">\r\n\r\n\r\nI don't know how to get it back to normal. Please help me.\n\n### Expected behavior\n\nIt should be packaged and run as well as in the development environment.\r\n\u003Cimg width=\"1512\" alt=\"image\" src=\"https://user-images.githubusercontent.com/34816426/218309052-4642bae2-53da-43d6-aa98-50297732db1f.png\">\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.2\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 3.39 GB / 32.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.17.1 - ~/Library/pnpm/node\r\n npm: 8.15.0 - ~/Library/pnpm/npm\r\n Browsers:\r\n Chrome: 109.0.5414.119\r\n Edge: 109.0.1518.70\r\n Safari: 16.3\n```\n\n\n### Additional context\n\nWorking normally in the development environment:\r\n\r\n\u003Cimg width=\"1512\" alt=\"image\" src=\"https://user-images.githubusercontent.com/34816426/218309052-4642bae2-53da-43d6-aa98-50297732db1f.png\">\r\n\r\nBut after packing, the work is not normal:\r\n\u003Cimg width=\"1512\" alt=\"image\" src=\"https://user-images.githubusercontent.com/34816426/218309239-ac091181-61c3-4546-96c9-45c67d231369.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.",[2905],{"name":2906,"color":2907},"bug: pending triage","e99695",1929,"closed","Referencing the third library has no effect after packaging","2023-03-29T00:04:14Z","https://github.com/vuejs/vitepress/issues/1929",0.71648985,{"description":2915,"labels":2916,"number":2917,"owner":2871,"repository":2872,"state":2909,"title":2918,"updated_at":2919,"url":2920,"score":2921},"### Is your feature request related to a problem? Please describe.\n\nhope can be support local search. when run `docs:dev`, current doesn't have search functional.\n\n### Describe the solution you'd like\n\nhope can use local search like vuepress: https://v2.vuepress.vuejs.org/reference/plugin/search.html\r\n\r\nthis is an local search js:\r\n\r\nhttps://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/plugin-search/match-query.js\n\n### Describe alternatives you've considered\n\n_No response_\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] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],1757,"Local search can be support?","2023-01-21T14:16:56Z","https://github.com/vuejs/vitepress/issues/1757",0.7340082,{"description":2923,"labels":2924,"number":2928,"owner":2871,"repository":2872,"state":2909,"title":2929,"updated_at":2930,"url":2931,"score":2932},"### Describe the bug\n\nAfter configuring base, the links generated using createContentLoader have a base prefix, while other links do not have a base (eq. [navigation-links](https://vitepress.dev/reference/default-theme-nav#navigation-links)). There is a difference between the two format of links.\r\n\r\nCaused by #2714\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-tcog3a?file=docs%2F.vitepress%2FTest.vue\n\n### Expected behavior\n\nVarious links should maintain a consistent format\n\n### System Info\n\n```sh\nvitepress ^1.0.0-rc.1\n```\n\n\n### Additional context\n\nThe default theme for base processing is done in the component, eq. VPLink VPImage\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.",[2925],{"name":2926,"color":2927},"contribution welcome","11E4B8",2862,"The link generated by using CreateContentLoader is inconsistent with the default link format","2023-09-05T00:04:10Z","https://github.com/vuejs/vitepress/issues/2862",0.7567352,{"description":2934,"labels":2935,"number":2936,"owner":2871,"repository":2872,"state":2909,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### Is your feature request related to a problem? Please describe.\n\n`You may further nest the sidebar items up to 6 level deep counting up from the root level. Note that deeper than 6 level of nested items gets ignored and will not be displayed on the sidebar.`\r\nI want to support a higher level of depth.\n\n### Describe the solution you'd like\n\nThe level of depth can be manually configured.\n\n### Describe alternatives you've considered\n\n_No response_\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.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3920,"Sidebar depth","2024-07-05T04:42:40Z","https://github.com/vuejs/vitepress/issues/3920",0.7585188,{"description":2942,"labels":2943,"number":2947,"owner":2871,"repository":2872,"state":2909,"title":2948,"updated_at":2949,"url":2950,"score":2951},"",[2944],{"name":2945,"color":2946},"has-workaround","1B4515",2960,"How to force dark mode on","2023-09-23T00:04:01Z","https://github.com/vuejs/vitepress/issues/2960",0.7641493,{"description":2953,"labels":2954,"number":2958,"owner":2871,"repository":2872,"state":2909,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Describe the bug\n\nContent is duplicated.\r\nConsole error: Hydration completed but contains mismatches. framework.f2e19bd8.js:1:36420\r\n\r\nHTML auto minify disabled. \r\nMy config:\r\n`export default defineConfig(async ({ mode }) => {\r\n return {\r\n plugins: [MarkdownTransform()],\r\n build: {\r\n minify: false,\r\n },\r\n resolve: {\r\n alias: {\r\n \"@\": fileURLToPath(new URL(\"../src\", import.meta.url)),\r\n },\r\n },\r\n };\r\n});`\n\n### Reproduction\n\n\r\n\n\n### Expected behavior\n\nLocally in preview mode works fine\n\n### System Info\n\n```sh\nDependencies:\r\n\r\n\"vue\": \"^3.2.45\",\r\n\"vite\": \"^4.0.0\",\r\n\"vitepress\": \"^1.0.0-beta.6\",\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.",[2955],{"name":2956,"color":2957},"need more info","bdbefc",2678,"Duplicate content","2023-08-27T00:06:19Z","https://github.com/vuejs/vitepress/issues/2678",0.76916313,{"description":2964,"labels":2965,"number":2966,"owner":2871,"repository":2872,"state":2909,"title":2967,"updated_at":2968,"url":2969,"score":2970},"### Describe the bug\n\nvitepress 打包和 vite 存在一些差异,我在项目中使用 @antv/g2plot,如果使用 vite 可以正常编译,使用 vitepress 编译则会失败。\r\n尽管我可以将 @antv/g2plot 的依赖指定低版本避免这个错误,但是我想知道为什么会出现这种情况;\r\n\r\nen:There are some differences between vitepress compilation and vite, I use @antv/g2plot in my project, if I use vite it compiles fine, if I use vitepress it compiles fine, I use vitepress to compile it fails. Although I could avoid this error by specifying the dependency of @antv/g2plot at a lower version, I wonder why this is the case\n\n### Reproduction\n\n1. Create a new Vite+Vue project\r\n2. Add @ antv/g2plot dependency and use word cloud diagram in the component, for example: https://g2plot.antv.antgroup.com/examples/more-plots/word-cloud#same -place\r\n3. Preview effect, compile project, compile normally\r\n\r\n4. Install vitepress v1.2.3, initialize\r\n5. Create a component usage word cloud and import it in the document\r\n6. Compile document, compilation failed\r\n\r\nhttps://github.com/peiyanlu/vite-test-antv\n\n### Expected behavior\n\nbuild success\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.26100\r\n CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13980HX\r\n Memory: 10.03 GB / 31.63 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 9.5.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 9.4.0 - ~\\AppData\\Local\\pnpm\\pnpm.EXE\r\n Browsers:\r\n Edge: Chromium (126.0.2592.87)\r\n Internet Explorer: 11.0.26100.1\r\n npmPackages:\r\n vitepress: ^1.2.3 => 1.2.3\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.",[],4021,"build error with @antv/g2plot","2024-07-18T04:42:22Z","https://github.com/vuejs/vitepress/issues/4021",0.7735464,["Reactive",2972],{},["Set"],["ShallowReactive",2975],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fFQZpjohzOPFdfJ7MvCPT9NnX77evj_rrBF6eFldTiP0":-1},"/vuejs/vitepress/2507"]