```\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",[2908],{"name":2868,"color":2869},4273,"How to use default Vue components elsewhere","2024-12-03T17:27:39Z","https://github.com/vuejs/vitepress/issues/4273",0.7489543,{"description":2915,"labels":2916,"number":2921,"owner":2874,"repository":2875,"state":2876,"title":2922,"updated_at":2923,"url":2924,"score":2925},"### Describe the bug\r\n\r\nThe **vitepress build** script recognizes the --outDir argument. For example,\r\n- default script: `\"docs:build\": \"vitepress build\"` builds the `./.vitepress/dist` folder;\r\n- custom script: `\"docs:build\": \"vitepress build --outDir './dist\"'` builds the `./dist` folder.\r\n\r\nHowever, the **vitepress preview** script cannot locally preview the project in a different folder. For example,\r\n- default script: `\"docs:preview\": \"vitepress preview\"` considers the `./.vitepress/dist` folder;\r\n- custom script: there is no way to preview the project that was built on the `./dist` folder.\r\n\r\nWorkaround: setting `'../dist'` as the value of `outDir` option on `config.js` satisfies the expected result when running `vitepress preview`. The considered folder becomes `./dist` as expected.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/vite-tyd3c7?file=package.json\r\n\r\n### Expected behavior\r\n\r\nThe script `docs:preview` correctly recognizes the modified `outDir` folder.",[2917,2920],{"name":2918,"color":2919},"has-workaround","1B4515",{"name":2868,"color":2869},4073,"support specifying `outDir` in `vitepress preview`","2025-03-02T18:08:54Z","https://github.com/vuejs/vitepress/issues/4073",0.7591153,{"description":2927,"labels":2928,"number":2929,"owner":2874,"repository":2875,"state":2930,"title":2931,"updated_at":2932,"url":2933,"score":2934},"### Describe the bug\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n直接打开控制台修改官方sidebar里的文字,插入\u003CT>即可复现\r\n\r\n### Expected behavior\r\n\r\n文字对齐\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 14.4.1\r\n CPU: (8) arm64 Apple M2\r\n Memory: 141.77 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.14.0 - ~/.nvm/versions/node/v18.14.0/bin/node\r\n Yarn: 1.18.0 - ~/.nvm/versions/node/v18.14.0/bin/yarn\r\n npm: 9.3.1 - ~/.nvm/versions/node/v18.14.0/bin/npm\r\n pnpm: 8.15.4 - ~/Library/pnpm/pnpm\r\n Browsers:\r\n Chrome: 131.0.6778.86\r\n Safari: 17.4.1\r\n npmPackages:\r\n vitepress: ^1.5.0 => 1.5.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] 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.",[],4399,"closed","导航中插入的\u003CT>,两个尖括号没有对齐","2024-12-10T04:44:48Z","https://github.com/vuejs/vitepress/issues/4399",0.7168179,{"description":2936,"labels":2937,"number":2941,"owner":2874,"repository":2875,"state":2930,"title":2942,"updated_at":2943,"url":2944,"score":2945},"### Describe the bug\r\n\r\nComponents at the start of a line/paragraph don't render their contents as Markdown despite other Markdown renders doing so.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/vite-jgrywo?file=docs%2Findex.md\r\n\r\nLook at \"Some Markdown\" line. I expected it to render as Markdown...\r\n\r\n### Expected behavior\r\n\r\nIt should render as Markdown. When rendered by other systems at least it does. e.g. VS Code Markdown preview.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.20.3 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.2.3 - /usr/local/bin/npm\r\n pnpm: 8.15.6 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: latest => 1.2.3\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nVitePress:\r\n\r\n\r\nVS Code:\r\n\r\n\r\n\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.",[2938],{"name":2939,"color":2940},"wont fix","EDEED1",4017,"Components at the start of a line/paragraph don't render their contents as Markdown","2024-07-11T04:42:20Z","https://github.com/vuejs/vitepress/issues/4017",0.72604513,{"description":2947,"labels":2948,"number":2952,"owner":2874,"repository":2875,"state":2930,"title":2953,"updated_at":2954,"url":2955,"score":2956},"### 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.",[2949],{"name":2950,"color":2951},"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.7260701,{"description":2958,"labels":2959,"number":2960,"owner":2874,"repository":2875,"state":2930,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Is your feature request related to a problem? Please describe.\n\nIt is recommended to support Hong Kong Holidays\n\n### Describe the solution you'd like\n\nIt is recommended to support Hong Kong Holidays\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.",[],3753,"It is recommended to support Hong Kong Holidays","2024-04-28T12:25:07Z","https://github.com/vuejs/vitepress/issues/3753",0.72856575,{"description":2966,"labels":2967,"number":2971,"owner":2874,"repository":2875,"state":2930,"title":2972,"updated_at":2973,"url":2974,"score":2975},"### 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.",[2968],{"name":2969,"color":2970},"bug: pending triage","e99695",3460,"Site auto loads 404.html after deployed to Vercel","2024-01-24T00:04:46Z","https://github.com/vuejs/vitepress/issues/3460",0.733656,["Reactive",2977],{},["Set"],["ShallowReactive",2980],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$frqpm2OH0huuCsjl4gfNVLpcibHRQkMpD1CuvBm5IDn8":-1},"/vuejs/vitepress/3407"]