\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.",[2955],{"name":2956,"color":2957},"bug: pending triage","e99695",1929,"Referencing the third library has no effect after packaging","2023-03-29T00:04:14Z","https://github.com/vuejs/vitepress/issues/1929",0.7746104,{"description":2964,"labels":2965,"number":2967,"owner":2872,"repository":2873,"state":2922,"title":2968,"updated_at":2969,"url":2970,"score":2971},"### Describe the bug\n\n# dependencies used\r\n - \"ant-design-vue\": \"3.2.20\". \r\n - \"vitepress\": \"^1.0.1\".\r\n - \"vue\": \"^3.2.38\".\r\n - \"@vitejs/plugin-vue\": \"^5.0.4\"\r\n - \"vite\": \"^5.2.0\"\r\n\r\n# A custom layout in .vitepress/theme like below. \r\n\r\n``` vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003CButton @click=\"handleClick\">切换 显示和隐藏\u003C/Button>\r\n \u003CEmpty v-if=\"visible\" />\r\n \u003CEmpty />\r\n \u003C/div>\r\n\u003C/template>\r\n\u003Cscript lang=\"ts\" setup>\r\nimport { Empty } from 'ant-design-vue';\r\nimport { ref } from \"vue\"\r\nconst visible = ref(true)\r\n\r\nconst handleClick = () => {\r\n visible.value = !visible.value\r\n\r\n}\r\n\u003C/script>\r\n\r\n```\r\n\n\n### Reproduction\n\n# Steps\r\n1. build. \r\nvitepress build docs.\r\n2. serve.\r\nvitepress serve docs. \r\n3. Click Button in the page.\r\n\r\n\r\n# Problem I face \r\nEverything is normal at the first.But when I click the button to change the element in the page, 'Empty' component cannot be rendered.\r\n\u003Cimg width=\"1672\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/43191187/00a0982a-5c11-47bc-adad-8e887380493a\">\r\n\n\n### Expected behavior\n\n# Expected. \r\nNo matter re-render times, I hope it can be rendered normal.\r\n\r\n\u003Cimg width=\"1676\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/43191187/74275c38-190d-49b5-a53a-4f23e2d123c7\">\r\n\n\n### System Info\n\n```Text\nThere's no any extra info.\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.",[2966],{"name":2956,"color":2957},3718,"ant-design-vue some components cannot render twice under vitepress build.","2024-04-28T12:25:19Z","https://github.com/vuejs/vitepress/issues/3718",0.78254,["Reactive",2973],{},["Set"],["ShallowReactive",2976],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ffCcuXnnAn38-qVQt0qDBOXePiaJWuBmL558_he1WW-A":-1},"/vuejs/vitepress/4246"]