\r\n}\r\n\r\nexport default Component;\r\n```\r\n\r\n// Import this code in \r\n```vue\r\n\u003Cdiv ref=\"el\" />\r\n\r\n\u003Cscript setup>\r\nimport { createElement } from 'react'\r\nimport { createRoot } from 'react-dom/client'\r\nimport { ref, onMounted } from 'vue'\r\nimport Simple from '../components/simple/Simple.jsx'\r\n\r\nconst el = ref()\r\nonMounted(() => {\r\n const root = createRoot(el.value)\r\n root.render(createElement(Simple, {}, null))\r\n})\r\n\u003C/script>\r\n```\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nThe project should build... It works fine in dev mode...\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: macOS 12.5\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 1.16 GB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.20.1 - ~/.nvm/versions/node/v16.20.1/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.1/bin/yarn\r\n npm: 8.19.4 - ~/.nvm/versions/node/v16.20.1/bin/npm\r\n Browsers:\r\n Chrome: 115.0.5790.114\r\n Safari: 15.6\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.",[2894],{"name":2895,"color":2896},"bug: pending triage","e99695",2709,"closed","Unable to build the docs project when importing a module from node_modules","2023-08-07T00:04:27Z","https://github.com/vuejs/vitepress/issues/2709",0.7054597,{"description":2904,"labels":2905,"number":2906,"owner":2872,"repository":2873,"state":2898,"title":2907,"updated_at":2908,"url":2909,"score":2910},"### Describe the bug\n\nUse custom component with slot, When preview the build files, Got an error \"Hydration completed but contains mismatches.\" and the page content is distorted.\n\n### Reproduction\n\nDemo: [https://stackblitz.com/edit/vite-7ctcqz?file=docs/.vitepress/theme/index.js](https://stackblitz.com/edit/vite-7ctcqz?file=docs/.vitepress/theme/index.js)\r\n\r\n**Steps**\r\n\r\n- Build project\r\n- Run `npm run docs:preview`\r\n- Visit the page and click \"Get Start\" button redirect to the example page.\r\n- Refresh the example page\r\n\r\nNow I got an error \"Hydration completed but contains mismatches.\" and the page content is distorted.\n\n### Expected behavior\n\nNo errors.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900H\r\n Memory: 13.25 GB / 31.73 GB\r\n Binaries:\r\n Node: 18.16.0 - D:\\Program\\NodeJs\\node.EXE\r\n npm: 9.6.5 - D:\\Program\\NodeJs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.58)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.73 => 1.0.0-alpha.73\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.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],2284,"Use custom component with slot, When preview the build files, Got an error \"Hydration completed but contains mismatches.\"","2023-06-08T00:04:09Z","https://github.com/vuejs/vitepress/issues/2284",0.70932037,{"description":2912,"labels":2913,"number":2914,"owner":2872,"repository":2873,"state":2898,"title":2915,"updated_at":2916,"url":2917,"score":2918},"### Is your feature request related to a problem? Please describe.\n\nLet's say we got a folder structure like this:\r\n\r\n\r\n└─ foo\r\n ├─ 1.0.0.md\r\n ├─ 2.0.0.md\r\n └─ 3.0.0.md\r\n\r\nRight now we would have routes like:\r\n `/foo/1.0.0.html`\r\n `/foo/2.0.0.html`\r\n `/foo/3.0.0.html`\r\n\r\nI'd like to also have a route or alias like the following: `/foo/latest` which will point to the latest version (this can all be determined on build time by looking at the file, I already have a function that gives me the latest \"route\", in this case `/foo/3.0.0.html`.\r\n\r\nHow can I make this `/foo/latest` route exist and be an alias to the one I wanted?\n\n### Describe the solution you'd like\n\nAllow us to define route aliases or redirects\n\n### Describe alternatives you've considered\n\nI've tried with rewrites but that allowed me to make the latest version redirected to /latest instead. I want the reverse.\n\n### Additional context\n\nIf this is not something you think vitepress should have because it's not SSG friendly (there is no latest.html file) then I understand.\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.",[],2922,"Route Alias or Redirect","2023-09-16T00:04:02Z","https://github.com/vuejs/vitepress/issues/2922",0.71596515,{"description":2920,"labels":2921,"number":2928,"owner":2872,"repository":2873,"state":2898,"title":2929,"updated_at":2930,"url":2931,"score":2932},"### Describe the bug\n\nWhen sidebar is not present, the page is not scrolled and outline is scrolled down, it overflows the navbar.\r\n\r\n \r\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-v81ufa\r\n\r\n1. Make sure width is high enough so that outline is shown\r\n2. Without scrolling the main page content hover over the outline and scroll down\r\n3. Observe that the outline overflows the navbar\n\n### Expected behavior\n\nOutline is clipped when over navbar in the same way when sidebar is present.\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (16) x64 Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz\r\n Memory: 45.66 GB / 63.92 GB\r\n Binaries:\r\n Node: 18.2.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.5 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n npm: 9.6.6 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 113.0.5672.127\r\n Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.50)\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.1 => 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.",[2922,2925],{"name":2923,"color":2924},"theme","0754FB",{"name":2926,"color":2927},"contribution welcome","11E4B8",2442,"Outline overflows navbar when sidebar not present","2023-08-16T00:04:22Z","https://github.com/vuejs/vitepress/issues/2442",0.7252309,{"description":2934,"labels":2935,"number":2937,"owner":2872,"repository":2873,"state":2898,"title":2938,"updated_at":2939,"url":2940,"score":2941},"### Describe the bug\n\nAfter build in MPA mode, the woff2 file aren't copy to assets dir, but style.xxx.css used it.\n\n### Reproduction\n\nany md file\n\n### Expected behavior\n\nIn MPA file, the woff2 file can be copied to assets dir\n\n### System Info\n\n```shell\nwindows vitepress@1.0.0-alpha.60\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.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2936],{"name":2895,"color":2896},2094,"Missing woff2 file in MPA mode","2023-03-24T00:04:12Z","https://github.com/vuejs/vitepress/issues/2094",0.7261527,{"description":2943,"labels":2944,"number":2946,"owner":2872,"repository":2873,"state":2898,"title":2947,"updated_at":2948,"url":2949,"score":2950},"### Describe the bug\r\n\r\nHello, I noticed that in `home` layout, on mobile devices (with narrow viewport width), the 'Return to top' button is always visible even you're already at the top, and I have difficulties in hiding this button.\r\n\r\n### Reproduction\r\n\r\n1. Use a phone browser (with narrow viewport width).\r\n2. Open [https://vitepress.dev](https://vitepress.dev), then you'll see the 'Return to top' button is visible.\r\n\r\n### Expected behavior\r\n\r\n1. It can be automatically hide or show depend on the page location.\r\n2. It can be explicitly disable in configurations, like `themeConfig: { ... returnToTop: false, ...}`.\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: macOS 13.3.1\r\n CPU: (8) arm64 Apple M1\r\n Memory: 106.47 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.0.0 - /opt/homebrew/bin/node\r\n npm: 9.6.4 - /opt/homebrew/bin/npm\r\n Browsers:\r\n Chrome: 112.0.5615.137\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### Additional context\r\n\r\nhttps://user-images.githubusercontent.com/15633984/235286646-a19d669e-8274-4b2a-b55a-9f372d978d87.mov\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.",[2945],{"name":2923,"color":2924},2312,"'Return to top' button is always visible","2023-05-08T00:04:07Z","https://github.com/vuejs/vitepress/issues/2312",0.72749907,{"description":2952,"labels":2953,"number":2955,"owner":2872,"repository":2873,"state":2898,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### Describe the bug\n\nThese two links should both load the same page, but the one with trailing slash returns 404.\r\n\r\nhttps://docs.celestia.org/developers/blobstream/\r\nhttps://docs.celestia.org/developers/blobstream\n\n### Reproduction\n\nhttps://docs.celestia.org/developers/blobstream/\r\nhttps://docs.celestia.org/developers/blobstream\n\n### Expected behavior\n\nBoth pages load https://docs.celestia.org/developers/blobstream\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.0\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 80.42 MB / 16.00 GB\r\n Shell: 3.2.57 - /bin/bash\r\n Binaries:\r\n Node: 18.12.0 - ~/.nvm/versions/node/v18.12.0/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 8.19.2 - ~/.nvm/versions/node/v18.12.0/bin/npm\r\n pnpm: 7.13.1 - /opt/homebrew/bin/pnpm\r\n Browsers:\r\n Brave Browser: 117.1.58.135\r\n Chrome: 118.0.5993.88\r\n Safari: 17.0\r\n npmPackages:\r\n vitepress: 1.0.0-rc.24 => 1.0.0-rc.24\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.",[2954],{"name":2895,"color":2896},3134,"links with trailing slash do not load","2023-11-01T00:04:41Z","https://github.com/vuejs/vitepress/issues/3134",0.72764057,{"description":2961,"labels":2962,"number":2964,"owner":2872,"repository":2873,"state":2898,"title":2965,"updated_at":2966,"url":2967,"score":2968},"### Describe the bug\n\nWhen I tried to change the style of the `image` on the homepage, there were some situations where I encountered problems.\r\nunder Path: \r\n> .vitepress\\theme\\styles\\vars.css\r\n```css\r\n@keyframes logo-spin {\r\n from {\r\n transform: rotate(0deg);\r\n }\r\n\r\n to {\r\n transform: rotate(360deg);\r\n }\r\n}\r\n\r\n.image-src {\r\n animation: logo-spin infinite 20s linear;\r\n}\r\n```\n\n### Reproduction\n\nstackblitz : https://stackblitz.com/edit/vite-ib4s68?file=README.md\r\n\r\nrepo and explanation : https://github.com/RSS1102/vite-ib4s68\r\n\r\n\n\n### Expected behavior\n\nOn the mobile end\r\n\r\n\r\nOn the PC end\r\n\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics\r\n Memory: 2.19 GB / 13.86 GB\r\n Binaries:\r\n Node: 18.12.1 - E:\\node\\node.EXE\r\n Yarn: 1.22.19 - E:\\node\\yarn.CMD\r\n npm: 9.4.2 - E:\\node\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.39)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.64 => 1.0.0-alpha.64\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.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2963],{"name":2895,"color":2896},2217,"[hero] : The localization problem of `image bg '","2023-04-22T00:04:15Z","https://github.com/vuejs/vitepress/issues/2217",0.7293432,["Reactive",2970],{},["Set"],["ShallowReactive",2973],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fTsSzJtpwhZhs_LMA0XRdKG16Z42e2g22v3-9KvZoBkk":-1},"/vuejs/vitepress/1712"]