\r\n```\r\n\r\n```\r\n// test-2.md\r\n---\r\ntitle: ❌\r\n---\r\n\r\n\u003Cscript setup lang=\"ts\">\r\nimport { ref } from \"vue\";\r\nimport yaml from \"yaml\";\r\nimport \"uno.css\";\r\n\u003C/script>\r\n\r\n\u003CTestInfo />\r\n```\r\n\r\n```\r\n// test-3.md\r\n---\r\ntitle: ❌\r\n---\r\n\r\n\u003Cscript setup lang=\"ts\">\r\nconst data = 123;\r\n\u003C/script>\r\n\r\n\u003CTestInfo />\r\n\r\n```\r\n\r\nWhen I execute `pnpm dev`(`vitepress dev website`), accessing `/test-1`, `/test-2`, `/test-3` works fine.\r\n\r\nWhen I execute `pnpm build && pnpm preview`(`vue-tsc && vitepress build website && vitepress preview website`), visit `/test-1`, `/test-2`, `/test-3`, my custom component does not work properly and the F12 console reports `Hydration completed but contains mismatches.`.\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nWhen I add the valid `\u003Cscript>` and execute `vue-tsc && vitepress build website && vitepress preview website`, the custom components will display normally and the console will not report an error.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12500H\r\n Memory: 1.13 GB / 15.73 GB\r\n Binaries:\r\n Node: 16.17.1 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 8.15.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (109.0.1518.78)\r\n Internet Explorer: 11.0.22000.120\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.32 => 1.0.0-alpha.32\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.",[2905,2908],{"name":2906,"color":2907},"bug: pending triage","e99695",{"name":2868,"color":2869},1918,"closed","Warn `Hydration completed but contains mismatches.` and Custom components are not rendered","2023-08-11T00:04:12Z","https://github.com/vuejs/vitepress/issues/1918",0.68533784,{"description":2916,"labels":2917,"number":2918,"owner":2871,"repository":2872,"state":2910,"title":2919,"updated_at":2920,"url":2921,"score":2922},"when use some new language blocks in `md`, such as `wgsl`, it shows `No language registration for wgsl`\r\n\r\nThe shiki support add custom languages: https://github.com/shikijs/shiki/blob/main/docs/languages.md#supporting-your-own-languages-with-shiki\r\n\r\nThen, how to use it in VitePress to add custom languages?",[],1331,"How to add register language/grammar for shiki?","2023-01-21T14:25:07Z","https://github.com/vuejs/vitepress/issues/1331",0.7060719,{"description":2924,"labels":2925,"number":2927,"owner":2871,"repository":2872,"state":2910,"title":2928,"updated_at":2929,"url":2930,"score":2931},"### Is your feature request related to a problem? Please describe.\r\n\r\nI upgraded from alpha36 to the latest alpha and immediately noticed that it is missing on of the nicest touch of VitePress.\r\n\r\n### Describe the solution you'd like\r\n\r\nPlease, return semi-transparent, blurry header background!\r\n\r\nOR at least give an example of how to achieve the same effect, I tried but no luck.\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.vuejs.org).\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.",[2926],{"name":2894,"color":2895},1897,"Return semi-transparent header background","2023-02-16T00:04:23Z","https://github.com/vuejs/vitepress/issues/1897",0.7269847,{"description":2933,"labels":2934,"number":2938,"owner":2871,"repository":2872,"state":2910,"title":2939,"updated_at":2940,"url":2941,"score":2942},"### Describe the bug\n\nbuild error:\r\nThe requested module 'vue' does not provide an export named 'default'\r\nfile:///Users/lee/Codes/Work/PanSoft/pan-ui-vue/apps/docs/.vitepress/.temp/index.gDrBdFYw.js:1\r\nimport require$$0, { defineComponent, createVNode, ref, computed, watch, Fragment, watchEffect, createTextVNode, toRaw, mergeModels, useModel, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, normalizeClass, createElementBlock, createElementVNode, toDisplayString, renderList, renderSlot, normalizeProps, nextTick } from \"vue\";\r\n\r\nSyntaxError: The requested module 'vue' does not provide an export named 'default'\r\n at ModuleJob._instantiate (node:internal/modules/esm/module_job:132:21)\r\n at async ModuleJob.run (node:internal/modules/esm/module_job:214:5)\r\n at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)\r\n at async build (file:///Users/lee/Codes/Work/PanSoft/pan-ui-vue/node_modules/.pnpm/vitepress@1.3.3_@algolia+client-search@4.24.0_@types+node@22.0.0_async-validator@4.2.5_less@4_vyupewqor5ionkpvva6zm6cw7u/node_modules/vitepress/dist/node/serve-lJPQ9bCN.js:47053:24)\n\n### Reproduction\n\n{\r\n \"name\": \"docs\",\r\n \"private\": true,\r\n \"scripts\": {\r\n \"dev\": \"vitepress dev\",\r\n \"docs:build\": \"vitepress build\",\r\n \"docs:preview\": \"vitepress preview\"\r\n },\r\n \"dependencies\": {\r\n \"@panui-vue/base\": \"workspace:*\",\r\n \"@panui-vue/pro\": \"workspace:*\",\r\n \"@panui-vue/icon\": \"workspace:*\",\r\n \"@panui-vue/excel\": \"workspace:*\",\r\n \"vue\": \"^3.4.31\",\r\n \"lodash-es\": \"^4.17.21\",\r\n \"@formily/vue\": \"^2.3.2\",\r\n \"dayjs\": \"1.11.12\"\r\n },\r\n \"devDependencies\": {\r\n \"@faker-js/faker\": \"^8.4.1\",\r\n \"@vitepress-demo-preview/component\": \"^2.3.2\",\r\n \"@vitepress-demo-preview/plugin\": \"^1.2.3\",\r\n \"postcss\": \"^8.4.40\",\r\n \"rollup-plugin-visualizer\": \"^5.12.0\",\r\n \"typescript\": \"^5.2.2\",\r\n \"vitepress\": \"^1.3.3\",\r\n \"@types/lodash-es\": \"^4.17.12\",\r\n \"@vitejs/plugin-vue-jsx\": \"^4.0.0\"\r\n }\r\n}\n\n### Expected behavior\n\nNormal build\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.6.1\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 185.47 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node\r\n npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm\r\n pnpm: 9.7.1 - ~/.nvm/versions/node/v20.11.1/bin/pnpm\r\n Browsers:\r\n Chrome: 127.0.6533.120\r\n Edge: 127.0.2651.105\r\n Safari: 17.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.",[2935],{"name":2936,"color":2937},"need more info","bdbefc",4158,"SyntaxError: The requested module 'vue' does not provide an export named 'default'","2024-09-03T04:42:37Z","https://github.com/vuejs/vitepress/issues/4158",0.7400846,{"description":2944,"labels":2945,"number":2947,"owner":2871,"repository":2872,"state":2910,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Describe the bug\r\n\r\nThe dev mode doesn't work/serve a working website.\r\n\r\nFirefox v105:\r\n\r\n````txt\r\nUncaught TypeError: import_meta.hot is undefined\r\n \u003Canonymous> http://localhost:5173/@fs/~/faker/node_modules/.pnpm/vitepress@1.0.0-alpha.17_w6dk4dwpgdxdglls4cxrxtpqg4/node_modules/vitepress/dist/client/theme-default/components/VPSkipLink.vue?v=341ae09c:51\r\n````\r\n\r\nChrome v105:\r\n\r\n```txt\r\nUncaught TypeError: Cannot read properties of undefined (reading 'accept')\r\n at VPSkipLink.vue:37:3\r\n```\r\n\r\nBuilding and serving (prod) works fine.\r\n\r\n### Reproduction\r\n\r\n````sh\r\ngit clone git@github.com:faker-js/faker.git\r\npnpm install\r\npnpm run build\r\npnpm run docs:dev\r\n# Open Browser\r\n````\r\n\r\n### Expected behavior\r\n\r\nA working website is shown.\r\n\r\n### System Info\r\n\r\n```shell\r\n System:\r\n OS: Windows 10 10.0.22621\r\n CPU: (16) x64 Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz\r\n Memory: 53.71 GB / 63.69 GB\r\n Binaries:\r\n Node: 16.17.1 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n npm: 8.16.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.521.0), Chromium (105.0.1343.53)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.17 => 1.0.0-alpha.17 \r\n```\r\n\r\n\r\n### Additional context\r\n\r\nFails with:\r\n- 1.0.0-alpha.17\r\n- 1.0.0-alpha.16\r\n- 1.0.0-alpha.15\r\n- 1.0.0-alpha.10\r\n- No more versions tested\r\n\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.",[2946],{"name":2906,"color":2907},1422,"Dev mode not working","2023-01-21T14:25:17Z","https://github.com/vuejs/vitepress/issues/1422",0.7401899,{"description":2953,"labels":2954,"number":2955,"owner":2871,"repository":2872,"state":2910,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### Describe the bug\n\nA markdown file with several dots `.` such as `software-1.2.3.md` is not properly routed and leads to a 404 error.\r\nI guess that the router assumes that there is a file named `/software-1.2.3` with the `.3` extension when using cleanUrls.\n\n### Reproduction\n\n1. Create a new VitePress project\r\n2. Create a new markdown file named `software-1.2.3.md` with some content.\r\n3. Create links the `/software-1.2.3` page in the `index.md` file. \r\n```md\r\n[/software-1.2.3](/software-1.2.3)\r\n[/software-1.2.3.md](/software-1.2.3.md)\r\n``` \r\n5. Enable `cleanUrls`.\r\n6. Click the links on the index page.\n\n### Expected behavior\n\nThe router should load the page `/software-1.2.3` when cleanUrls are active.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 11.7.10\r\n CPU: (4) x64 Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz\r\n Memory: 85.34 MB / 8.00 GB\r\n Shell: 3.2.57 - /bin/bash\r\n Binaries:\r\n Node: 18.13.0 - /usr/local/bin/node\r\n npm: 9.8.1 - /usr/local/bin/npm\r\n pnpm: 8.9.1 - /usr/local/bin/pnpm\r\n Browsers:\r\n Chrome: 118.0.5993.117\r\n Safari: 16.6.1\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.25 => 1.0.0-rc.25\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.",[],3191,"Markdown files with several dots `.` in name are not routed","2023-11-26T00:04:52Z","https://github.com/vuejs/vitepress/issues/3191",0.74225914,{"description":2961,"labels":2962,"number":2964,"owner":2871,"repository":2872,"state":2910,"title":2965,"updated_at":2966,"url":2967,"score":2968},"### Describe the bug\r\n\r\nHere is my website:\r\ngithub: https://github.com/Lark-Base-Team/js-sdk-docs\r\nAccessing https://lark-base-team.github.io/js-sdk-docs/zh/start\r\ndoes not display the icons.\r\n\r\nBelow is my configuration file:\r\n```\r\nexport default defineConfig({\r\n lastUpdated: true,\r\n cleanUrls: true,\r\n base: '/js-sdk-docs/',\r\n themeConfig: {\r\n logo: 'logo.svg',\r\n search: {\r\n provider: 'local'\r\n },\r\n nav: [\r\n { text: 'API', link: '/zh/api/guide', activeMatch: 'zh/api' },\r\n ],\r\n },\r\n head: [\r\n ['link', { rel: 'icon', href: 'logo.svg' }],\r\n ],\r\n title: 'Base JS SDK',\r\n description: 'Base JS SDK Docs',\r\n // sitemap: {\r\n // hostname: 'https://basejsapi.com',\r\n // },\r\n lang: 'zh',\r\n locales: {\r\n zh: {\r\n label: '中文',\r\n lang: 'zh',\r\n dir: '/zh',\r\n title: 'Base JS SDK',\r\n description: 'Base JS SDK Docs',\r\n themeConfig: {\r\n search: {\r\n provider: 'local'\r\n },\r\n nav: [\r\n { text: 'API', link: '/zh/api/guide', activeMatch: 'zh/api' },\r\n ],\r\n sidebar: getZhSideBar(),\r\n },\r\n },\r\n en: {\r\n label: 'English',\r\n lang: 'en',\r\n dir: '/en',\r\n title: 'Base JS SDK',\r\n description: 'Base JS SDK Docs',\r\n themeConfig: {\r\n search: {\r\n provider: 'local'\r\n },\r\n nav: [\r\n { text: 'API', link: '/en/api/guide.md' },\r\n ],\r\n sidebar: getEnSideBar(),\r\n },\r\n }\r\n },\r\n})\r\n\r\n```\r\n\r\n### Reproduction\r\n\r\nvitepress: 1.0.0-rc.10\r\n\r\n### Expected behavior\r\n\r\nshow icon like this\r\n\r\n\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 13.6\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 210.73 MB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.14.2 - ~/.nvm/versions/node/v18.14.2/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 9.5.0 - ~/.nvm/versions/node/v18.14.2/bin/npm\r\n pnpm: 8.7.4 - ~/.nvm/versions/node/v18.14.2/bin/pnpm\r\n Browsers:\r\n Chrome: 117.0.5938.149\r\n Safari: 16.6\r\n npmPackages:\r\n vitepress: 1.0.0-rc.10 => 1.0.0-rc.10\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.",[2963],{"name":2906,"color":2907},3059,"After I added the relevant internationalization configuration, the icons in the public directory cannot be loaded on pages in certain languages.","2023-10-20T00:04:32Z","https://github.com/vuejs/vitepress/issues/3059",0.74397874,["Reactive",2970],{},["Set"],["ShallowReactive",2973],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fi08Y0_o8L-U_lu0AC_WjilsEHd0gg6uoFaLREAuBkEA":-1},"/vuejs/vitepress/2060"]