\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.",[2891],{"name":2892,"color":2893},"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.76632905,{"description":2901,"labels":2902,"number":2904,"owner":2872,"repository":2873,"state":2895,"title":2905,"updated_at":2906,"url":2907,"score":2908},"### Describe the bug\n\nAs title\n\n### Reproduction\n\nN/A\n\n### Expected behavior\n\nResolve `outDir` from `pwd` instead of `root`\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.0\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 6.09 GB / 64.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.15.1 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/node\r\n Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/yarn\r\n npm: 8.12.1 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/npm\r\n Browsers:\r\n Chrome: 102.0.5005.115\r\n Firefox: 101.0.1\r\n Safari: 16.0\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2\n```\n\n\n### Additional context\n\nWorkaround:\r\n\r\n```js\r\n{\r\n outDir: process.env.OUT_DIR && path.resolve(process.env.OUT_DIR),\r\n}\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.",[2903],{"name":2892,"color":2893},839,"custom `outDir` resolves from `root` instead of `pwd`, is this expected?(Not to me at least)","2023-03-18T00:04:22Z","https://github.com/vuejs/vitepress/issues/839",0.7829897,{"description":2910,"labels":2911,"number":2915,"owner":2872,"repository":2873,"state":2895,"title":2916,"updated_at":2917,"url":2918,"score":2919},"### 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.",[2912],{"name":2913,"color":2914},"need more info","bdbefc",2678,"Duplicate content","2023-08-27T00:06:19Z","https://github.com/vuejs/vitepress/issues/2678",0.7886749,{"description":2921,"labels":2922,"number":2923,"owner":2872,"repository":2873,"state":2895,"title":2924,"updated_at":2925,"url":2926,"score":2927},"### Describe the bug\r\n\r\nWhen using multiple sidebars with overlap, the user must sort the entries in the configuration file.\r\n\r\nFor example:\r\n```ts\r\nsidebar: {\r\n '/': sidebar(),\r\n '/cookbooks/': sidebarCookbooks(),\r\n},\r\n```\r\n\r\nwill force ppl to change the order or renaming `/` (in the example) to avoid collision.\r\n\r\nChanging previous example to:\r\n```ts\r\nsidebar: {\r\n '/cookbooks/': sidebarCookbooks(),\r\n '/': sidebar(),\r\n},\r\n```\r\n\r\njust works.\r\n\r\n### Reproduction\r\n\r\nnot yet, check this on Discord: https://discord.com/channels/325477692906536972/790509637598314527/1035643686836518922\r\n\r\n### Expected behavior\r\n\r\nshould work without the order\r\n\r\n### System Info\r\n\r\n```shell\r\nNA\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.",[],1551,"multiple sidebar may require manual sort","2023-01-21T14:22:55Z","https://github.com/vuejs/vitepress/issues/1551",0.7892363,{"description":2929,"labels":2930,"number":2931,"owner":2872,"repository":2873,"state":2895,"title":2932,"updated_at":2933,"url":2934,"score":2935},"\r\n我也不知道怎么描述 就是有层级关系展现",[],4180,"请问页面导航 为何三级标题没有像官网那样有空格呢","2024-09-13T04:43:05Z","https://github.com/vuejs/vitepress/issues/4180",0.7924562,{"description":2937,"labels":2938,"number":2939,"owner":2872,"repository":2873,"state":2895,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### 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.79802305,{"description":2945,"labels":2946,"number":2947,"owner":2872,"repository":2873,"state":2895,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Describe the bug\r\n\r\nThe project was built successfully and completed, but the terminal just doesn't run continue, when I deploy on GitHub, the same issue makes the deployment process got stuck and won't run the next step. \r\n\r\n\r\n\r\n### Reproduction\r\n\r\nPlease see our repos [VFluent3](https://stackblitz.com/~/github.com/Creator-SN/VFluent3)\r\nThen run:\r\n\r\n```bash\r\nyarn docs:build\r\n```\r\n\r\n### Expected behavior\r\n\r\nPlease help me to resolve this issue and deploy the repo.\r\n\r\n### System Info\r\n\r\n```Text\r\nhttps://github.com/Creator-SN/VFluent3/blob/3532c3298555c2662fe42e6da4861181a33d9114/docs/.vitepress/config.mts\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.",[],3661,"The build process is stuck","2024-03-26T00:04:19Z","https://github.com/vuejs/vitepress/issues/3661",0.7985096,{"description":2953,"labels":2954,"number":2955,"owner":2872,"repository":2873,"state":2895,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### 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.80375624,["Reactive",2961],{},["Set"],["ShallowReactive",2964],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fNGpdfJ4Gt6sYpigJkdoB8qzkTn6GLLOnqlUDGFks5b0":-1},"/vuejs/vitepress/1891"]