\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.",[2903],{"name":2904,"color":2905},"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.7538389,{"description":2913,"labels":2914,"number":2918,"owner":2872,"repository":2873,"state":2907,"title":2919,"updated_at":2920,"url":2921,"score":2922},"Ideally, it should fade out the (aside) content near the screen end. But it doesn't do so:\r\n\r\n\r\n\r\nIt only does that when we are at the end of the (doc) content:\r\n\r\n\r\n\r\nThat curtain is at the bottom of the page instead of being at the bottom of the viewport.",[2915],{"name":2916,"color":2917},"theme","0754FB",656,"[next] Aside curtain not working as expected","2023-01-21T14:35:56Z","https://github.com/vuejs/vitepress/issues/656",0.78849655,{"description":2924,"labels":2925,"number":2926,"owner":2872,"repository":2873,"state":2907,"title":2927,"updated_at":2928,"url":2929,"score":2930},"> Can we make `Previous page` and `Next page` configurable as well?\r\n\r\n_Originally posted by @RainKolwa in https://github.com/vuejs/vitepress/issues/689#issuecomment-1144611412_",[],2507,"Make `Previous page` and `Next page` text configurable","2023-06-23T00:04:35Z","https://github.com/vuejs/vitepress/issues/2507",0.7949646,{"description":2932,"labels":2933,"number":2934,"owner":2872,"repository":2873,"state":2907,"title":2935,"updated_at":2936,"url":2937,"score":2938},"### Is your feature request related to a problem? Please describe.\n\nCurrently the default theme hardcodes a string comparison to determine if current page is home layout:\n\n```js\nclass = {\n 'is-home': frontmatter.layout === 'home'\n}\n```\n\nThere are many occurrences in the default theme where the above expression is used to control special treatments for home pages (e.g. hide sidebar, disable local nav, expand content width in CSS).\n\nIn my case, I need to create a custom Home layout in addition to the one provided by the default theme. However, it's almost impossible to make a custom layout page behave like the home layout because of these hardcoded conditions.\n\n### Describe the solution you'd like\n\nAccept an optional config `isHomeLayout` in front-matter. When left undefined, this entry should default to `frontmatter.layout === 'home'`.\n\nExample:\n\n```md\n---\nlayout: my-custom-layout\nisHomeLayout: true\n---\n\n# My home content\n\nLorem ipsum dolor sit amet ....\n```\n\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.",[],4671,"[default-theme] Allow custom layout used as home layout","2025-04-05T13:59:33Z","https://github.com/vuejs/vitepress/issues/4671",0.8135228,{"description":2940,"labels":2941,"number":2943,"owner":2872,"repository":2873,"state":2907,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Describe the bug\n\nI have configured Vercel's Clean URL feature, but it doesn't seem to work with VitePress. Despite the Clean URL setting, my navigation links still include .html extensions, which causes unnecessary redirects. Below is my nav configuration:\r\n\r\n```js\r\nnav: [\r\n { text: 'Home', link: '/' },\r\n { text: 'Radio', link: '/radio' },\r\n { text: 'Nostalgia', link: '/nostalgia' },\r\n { text: 'Archives', link: '/archives' },\r\n { text: 'Tags', link: '/tags' },\r\n { text: 'About', link: '/about' }\r\n]\r\n```\r\nEven with this configuration, VitePress still appends .html to the links in the generated pages. Is this an issue with my setup, or a bug in VitePress?\n\n### Reproduction\n\n1. Deploy a VitePress site on Vercel.\r\n2. Enable Vercel's Clean URL feature.\r\n3. Configure the VitePress nav with standard links (as shown above).\r\n4. Observe the .html still present in the navigation links and the redirects happening when accessing URLs without .html.\n\n### Expected behavior\n\nWhen using Vercel's Clean URL feature, the .html extension should be omitted from both the navigation links and the actual URLs served by VitePress, without triggering redirects.\n\n### System Info\n\n```Text\nVercel: Clean URLs enabled\r\nVitePress: 1.3.4\r\nBrowser: Google Chrome 127.0.6533.100\r\nOperating System: Windows\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.",[2942],{"name":2904,"color":2905},4187,"VitePress not respecting Vercel Clean URLs, .html still appended to navigation links","2024-09-16T04:44:00Z","https://github.com/vuejs/vitepress/issues/4187",0.8147894,{"description":2949,"labels":2950,"number":2954,"owner":2872,"repository":2873,"state":2907,"title":2955,"updated_at":2956,"url":2957,"score":2958},"### 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.",[2951],{"name":2952,"color":2953},"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.8173768,{"description":2960,"labels":2961,"number":2968,"owner":2872,"repository":2873,"state":2907,"title":2969,"updated_at":2970,"url":2971,"score":2972},"Hi guys, I hope you are well. I have forked to check spanish #translation. It is working for some files I have tested. I would like to contribute. Thanks.",[2962,2965],{"name":2963,"color":2964},"docs","0075ca",{"name":2966,"color":2967},"translations","6366D3",3850,"docs: add spanish translation","2024-06-14T04:41:50Z","https://github.com/vuejs/vitepress/issues/3850",0.82203996,["Reactive",2974],{},["Set"],["ShallowReactive",2977],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f2ma9knF11grb9Nr_PQvUXrxMNSxY_Kp1gzxIQ10I52c":-1},"/vuejs/vitepress/4594"]