\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.68965274,{"description":2904,"labels":2905,"number":2909,"owner":2869,"repository":2870,"state":2898,"title":2910,"updated_at":2911,"url":2912,"score":2913},"### Describe the bug\n\n引入.js文件,由于省略了后缀,导致打包报错。\n\n### Reproduction\n\n\n\n### Expected behavior\n\n谁知道这个怎么处理呢?\n\n### System Info\n\n```shell\nnpmPackages\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.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2906],{"name":2907,"color":2908},"need more info","bdbefc",2028,"引入.js后缀文件打包失败[ERR_MODULE_NOT_FOUND]","2023-03-21T00:03:59Z","https://github.com/vuejs/vitepress/issues/2028",0.69308597,{"description":2915,"labels":2916,"number":2917,"owner":2869,"repository":2870,"state":2898,"title":2918,"updated_at":2919,"url":2920,"score":2921},"### 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.69661695,{"description":2923,"labels":2924,"number":2926,"owner":2869,"repository":2870,"state":2898,"title":2927,"updated_at":2928,"url":2929,"score":2930},"### Describe the bug\n\n\u003Cimg width=\"559\" alt=\"image\" src=\"https://user-images.githubusercontent.com/50388827/231996524-3bb1a93b-8a74-492f-a6d3-ca1e9e880e01.png\">\r\n\u003Cimg width=\"469\" alt=\"image\" src=\"https://user-images.githubusercontent.com/50388827/231997075-305a330e-34d2-473b-a67f-f438580ff1d8.png\">\r\n\n\n### Reproduction\n\nhttps://www.npmjs.com/package/vitepress?activeTab=code\n\n### Expected behavior\n\nfix dependence-missing problem\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.3.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 705.63 MB / 32.00 GB\r\n Shell: 3.2.57 - /bin/sh\r\n Binaries:\r\n Node: 18.14.2 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.5.0 - /usr/local/bin/npm\r\n Browsers:\r\n Safari: 16.4\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.65 => 1.0.0-alpha.65\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.",[2925],{"name":2895,"color":2896},2215,"npm pkg has no `localSearch` option & dependence `minisearch ` about localSearch","2023-04-22T00:04:16Z","https://github.com/vuejs/vitepress/issues/2215",0.70134795,{"description":2932,"labels":2933,"number":2934,"owner":2869,"repository":2870,"state":2898,"title":2935,"updated_at":2936,"url":2937,"score":2938},"### Describe the bug\r\n\r\nWhen using iOS Safari, if you move to the actions link on the home page and then swipe history back, clicking on the elements on the home page is interrupted once.\r\nWorks fine from the second touch.\r\n\r\n### Reproduction\r\n\r\nhome > click action button > swipe history back > click action button\r\n\r\n### Expected behavior\r\n\r\n\r\nNo response to action button on home page after history back.\r\n\r\n### System Info\r\n\r\n```Text\r\niPhone SE2 (2020)\r\niOS 17.4\r\nsafari\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.",[],3658,"History back issue while using iOS Safari","2024-05-04T04:42:01Z","https://github.com/vuejs/vitepress/issues/3658",0.7042303,{"description":2940,"labels":2941,"number":2942,"owner":2869,"repository":2870,"state":2898,"title":2943,"updated_at":2944,"url":2945,"score":2946},"### Is your feature request related to a problem? Please describe.\r\n\r\nMultiple sidebars do not work with multiple locales\r\n\r\nMultiple sidebars work only for the root locale\r\n\r\n```js\r\nimport sidebar_es from \"./sidebar.es\";\r\nimport sidebar_en from \"./sidebar.en\";\r\nimport sidebar_subdir_es from \"./sidebar.subdir.es\";\r\nimport sidebar_subdir_en from \"./sidebar.subdir.en\";\r\n\r\nexport default defineConfig({\r\n locales: {\r\n root: {\r\n lang: \"sp\",\r\n label: \"Spanish\",\r\n themeConfig: {\r\n nav: nav_es,\r\n sidebar: {\r\n \"/\": sidebar_es,\r\n \"/subdir/\": sidebar_subdir_es,\r\n },\r\n },\r\n },\r\n en: {\r\n lang: \"en\",\r\n label: \"English\",\r\n themeConfig: {\r\n nav: nav_en,\r\n sidebar: {\r\n \"/\": sidebar_en,\r\n \"/subdir/\": sidebar_subdir_en,\r\n },\r\n },\r\n```\r\n\r\nIn this example `/en/subdir/` path shows default `sidebar_en` sidebar\r\n\r\n### Describe the solution you'd like\r\n\r\nMultiple sidebars should work for secondary locales\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\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.dev).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3202,"i18n and multiple sidebars problem","2023-11-21T00:04:49Z","https://github.com/vuejs/vitepress/issues/3202",0.7048918,{"description":2948,"labels":2949,"number":2953,"owner":2869,"repository":2870,"state":2898,"title":2954,"updated_at":2955,"url":2956,"score":2957},"### Describe the bug\r\n\r\nFirst, thank you for your work on this package.\r\n\r\n`vitepress dev` works fine, only when you build the docs and serve them with `vitepress serve` does this fail.\r\n\r\nIt tries to load a non-existing file:\r\n\r\n```\r\napp.0e8df899.js:90 GET http://localhost:5000/assets/guide_what-is-vue-popper.md.undefined.js net::ERR_ABORTED 404 (Not Found)\r\n```\r\n\r\n\r\n### Reproduction\r\n\r\n[Here's](https://github.com/valgeirb/vue3-popper) my repo.\r\n\r\n1. Clone it\r\n2. `npm i`\r\n3. Change `base` in `docs/.vitepress/config.js` to `base: \"/\"`\r\n4. `npm run build:docs`\r\n5. `npm run serve:docs`\r\n6. See the error in the dev tools\r\n\r\n### Expected behavior\r\n\r\nI don't understand why vitepress tries to serve this `.undefined` file. \r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Linux 5.11 Zorin OS 16\r\n CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz\r\n Memory: 4.16 GB / 31.23 GB\r\n Container: Yes\r\n Shell: 5.8 - /usr/bin/zsh\r\n Binaries:\r\n Node: 14.17.5 - ~/.nvm/versions/node/v14.17.5/bin/node\r\n npm: 6.14.14 - ~/.nvm/versions/node/v14.17.5/bin/npm\r\n Browsers:\r\n Chrome: 94.0.4606.81\r\n Firefox: 93.0\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/coc)\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.",[2950],{"name":2951,"color":2952},"build","377ba8",412,"`vitepress serve` tries to load an md.undefined.js file ","2023-01-21T14:28:39Z","https://github.com/vuejs/vitepress/issues/412",0.70563394,{"description":2959,"labels":2960,"number":2962,"owner":2869,"repository":2870,"state":2898,"title":2963,"updated_at":2964,"url":2965,"score":2966},"### 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.",[2961],{"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.7069202,["Reactive",2968],{},["Set"],["ShallowReactive",2971],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f_KKAjcjV2Yv6vfmtqUvjcXKS7S3QRbgOR88-kOyWvhs":-1},"/vuejs/vitepress/549"]