```\r\n\r\nIt doesn't seem to be correct:\r\n\r\n\r\n\r\nHow to make it look correct, just like on the homepage?:\r\n\r\n\r\n\r\n",[2865],{"name":2866,"color":2867},"stale","ededed",4273,"vuejs","vitepress","open","How to use default Vue components elsewhere","2024-12-03T17:27:39Z","https://github.com/vuejs/vitepress/issues/4273",0.6831582,{"description":2877,"labels":2878,"number":2883,"owner":2869,"repository":2870,"state":2871,"title":2884,"updated_at":2885,"url":2886,"score":2887},"### Is your feature request related to a problem? Please describe.\n\nDue to my markdown file is particularly large, resulting in packaged js file and the corresponding html file size are close to 3M b, which in turn leads to the browser first screen rendering DOM size is too large.\n\n### Describe the solution you'd like\n\nIs it possible to reduce the size of the first screen html and lazy load the rest of the dom?\r\n\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n\u003Cimg width=\"368\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/73653404/afe26e27-6e7a-489d-983a-42a6acbfff8e\">\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.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.",[2879,2880],{"name":2866,"color":2867},{"name":2881,"color":2882},"perf","378A61",3509,"DOM is oversized","2025-03-02T18:09:47Z","https://github.com/vuejs/vitepress/issues/3509",0.7052917,{"description":2889,"labels":2890,"number":2892,"owner":2869,"repository":2870,"state":2871,"title":2893,"updated_at":2894,"url":2895,"score":2896},"I want to create an extra color palette. Is it possible? Similar to .dark in the custom style.css\r\nWhy? \r\nI want to have pages different color palettes depending on the path of my site. \r\nLet's say\r\n\r\n> site/tutorials/ = blue color palette\r\n> site/news/ = gray color palette\r\n\r\nHow can I achieve something like this? If not by path, at least by specifying it on each .md frontmatter.\r\n\r\nThanks in advance.",[2891],{"name":2866,"color":2867},4161,"Help adding a new style/color palette ","2024-09-29T09:05:46Z","https://github.com/vuejs/vitepress/issues/4161",0.71314055,{"description":2898,"labels":2899,"number":2904,"owner":2869,"repository":2870,"state":2871,"title":2905,"updated_at":2906,"url":2907,"score":2908},"### Is your feature request related to a problem? Please describe.\n\nIn the monorepo development mode, sometimes the rendering in docs depends on the code in another repository, so when the code in another repository changes, it is expected to trigger a hot reload of docs\n\n### Describe the solution you'd like\n\nSupport configuration to watch specified folders to trigger hot reload\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.",[2900,2903],{"name":2901,"color":2902},"need more info","bdbefc",{"name":2866,"color":2867},4221,"Support hot reload by watching files not under docs","2024-12-03T17:27:50Z","https://github.com/vuejs/vitepress/issues/4221",0.71503764,{"description":2910,"labels":2911,"number":2913,"owner":2869,"repository":2870,"state":2871,"title":2914,"updated_at":2915,"url":2916,"score":2917},"### Is your feature request related to a problem? Please describe.\n\nI am using obsidian ,hidden files and dir , this application in no found\n\n### Describe the solution you'd like\n\nCan I rename this dir .vitepress ? \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.",[2912],{"name":2866,"color":2867},3793,".vitepress dir Whether you can rename it ? ","2024-06-23T07:11:50Z","https://github.com/vuejs/vitepress/issues/3793",0.720059,{"description":2919,"labels":2920,"number":2924,"owner":2869,"repository":2870,"state":2925,"title":2926,"updated_at":2927,"url":2928,"score":2929},"### Describe the bug\n\nWhen two Link components are nested within each other, it reports \"Hydration completed but contains mismatches.\"\nThis error only occurs in the production environment.\n\nLink.vue:\n\n```vue\n\u003Ctemplate>\n \u003Ca>\n \u003Cslot />\n \u003C/a>\n\u003C/template>\n```\n\nindex.md\n\n```vue\n\u003CLink>\u003CLink>Hydration completed but contains mismatches.\u003C/Link>\u003C/Link>\n```\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-4nxfvzn6?file=docs%2Findex.md\n\n### Expected behavior\n\nI'm not sure why this happens, but it's quite hard to troubleshoot. It would be better if more explicit error messages could be provided.\n\n### System Info\n\n```Text\nLatest Chrome\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.",[2921],{"name":2922,"color":2923},"bug: pending triage","e99695",4495,"closed","When two Link components are nested within each other, it reports \"Hydration completed but contains mismatches.\"","2025-01-25T04:42:41Z","https://github.com/vuejs/vitepress/issues/4495",0.67604756,{"description":2931,"labels":2932,"number":2934,"owner":2869,"repository":2870,"state":2925,"title":2935,"updated_at":2936,"url":2937,"score":2938},"### Describe the bug\n\nI installed Vitepress, built then ran it locally following the documentation of Vercel and everything seemed fine. But when I deployed it to my personal Vercel, my site keeps loading the 404.html. When I visit the Output of Vercel, I couldn't find any index.html and only 404.html. \r\n\r\nHere is currently [the blog of mine](https://vitepress-doc-kappa.vercel.app/) that I deployed to Vercel.\r\n\r\nThis is my current source on Vercel:\r\n\r\n\r\nThis is my current output on Vercel:\r\n\r\n\r\n\n\n### Reproduction\n\nNot sure if this is the correct way to reproduce, but I'll list down the commands that I ran, from install command to deploy:\r\n\r\n```bash\r\nnpm add -D vitepress\r\nnpx vitepress init ./\r\nnpm run docs:build\r\nnpm run docs:preview\r\nvercel --prod\r\n```\n\n### Expected behavior\n\nPage should load index.html when visiting `/`.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (4) x64 Intel(R) Pentium(R) CPU G4560 @ 3.50GHz\r\n Memory: 2.27 GB / 7.96 GB\r\n Binaries:\r\n Node: 20.0.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 9.6.4 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (120.0.2210.133)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.39 => 1.0.0-rc.39\n```\n\n\n### Additional context\n\nI use a fresh setup of Vitepress and deploy to a Vercel setting using Node v20.x (which as mentioned on Vercel that is still in Beta). However I did try Node v18.x on Vercel and the error is the same. \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.",[2933],{"name":2922,"color":2923},3460,"Site auto loads 404.html after deployed to Vercel","2024-01-24T00:04:46Z","https://github.com/vuejs/vitepress/issues/3460",0.69479877,{"description":2940,"labels":2941,"number":2942,"owner":2869,"repository":2870,"state":2925,"title":2943,"updated_at":2944,"url":2945,"score":2946},"### Describe the bug\r\n\r\nI wants to build my documentation with `bunx vitepress build docs` (running in node) but it fails with `[vitepress] Language `js` not found, you may need to load it first`\r\n\r\nSolved by downgrading to `1.4.2`\r\n\r\n[Repository](https://github.com/gramiojs/documentation) \r\n\r\n[CICD logs](https://github.com/gramiojs/documentation/actions/runs/11645088846/job/32427726195)\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/gramiojs/documentation/commit/561ce311bbcaf448b716e28a3b412f8a37966a2f\r\n\r\n### Expected behavior\r\n\r\nShould work\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: Windows 11 10.0.26100\r\n CPU: (16) x64 AMD Ryzen 7 7700 8-Core Processor\r\n Memory: 1.36 GB / 31.15 GB\r\n Binaries:\r\n Node: 22.10.0 - ~\\AppData\\Local\\fnm_multishells\\639520_1730573241452\\node.EXE\r\n npm: 10.9.0 - ~\\AppData\\Local\\fnm_multishells\\639520_1730573241452\\npm.CMD\r\n bun: 1.1.34 - ~\\.bun\\bin\\bun.EXE\r\n Browsers:\r\n Edge: Chromium (130.0.2849.46)\r\n npmPackages:\r\n vitepress: ^1.4.3 => 1.4.3\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.",[],4334,"shiki language lazy loading not working with twoslash","2024-11-11T04:43:13Z","https://github.com/vuejs/vitepress/issues/4334",0.6964867,{"description":2948,"labels":2949,"number":2951,"owner":2869,"repository":2870,"state":2925,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### 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.",[2950],{"name":2901,"color":2902},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.70470726,{"description":2957,"labels":2958,"number":2960,"owner":2869,"repository":2870,"state":2925,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Describe the bug\n\nError [ERR_REQUIRE_ESM]: require() of ES Module /Users/lianjunbin/Documents/pix-component/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js from /Users/lianjunbin/Documents/pix-component/docs/.vitepress/.temp/app.js not supported.\r\nInstead change the require of lodash.js in /Users/lianjunbin/Documents/pix-component/docs/.vitepress/.temp/app.js to a dynamic import() which is available in all CommonJS modules.\r\n at Module.\u003Canonymous> (/Users/lianjunbin/Documents/pix-component/docs/.vitepress/.temp/app.js:9:16)\r\n at renderPage (/Users/lianjunbin/Documents/pix-component/node_modules/.pnpm/vitepress@0.22.4_@algolia+client-search@4.14.1_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1_sass@1.53.0/node_modules/vitepress/dist/node/serve-3035f99b.js:41110:25)\r\n at Object.build (/Users/lianjunbin/Documents/pix-component/node_modules/.pnpm/vitepress@0.22.4_@algolia+client-search@4.14.1_@types+react@18.3.3_react-dom@18.3.1_react@18.3.1_sass@1.53.0/node_modules/vitepress/dist/node/serve-3035f99b.js:41259:15) {\r\n code: 'ERR_REQUIRE_ESM'\n\n### Reproduction\n\n搞不懂 同样的代码用vitepress dev可以正常运行,但是vitepress build 报错。\n\n### Expected behavior\n\n解决打包编译问题\n\n### System Info\n\n```Text\nnode v18.20.4 \r\nsass: ^1.53.0\r\nvite: ^2.9.13\r\nvitepress: 0.22.4\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.",[2959],{"name":2922,"color":2923},4145,"require() of ES Module vitepress/.temp/app.js not supported. vitepress dev可以正常运行,但是vitepress build 报错 vitepress: 0.22.4","2024-08-24T04:42:33Z","https://github.com/vuejs/vitepress/issues/4145",0.70725495,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fI_g-S1SVXBrkBThC_WVxcYShcEkeWSnADmqK7fmR8ao":-1},"/vuejs/vitepress/3623"]