```\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",[2882],{"name":2857,"color":2858},4273,"How to use default Vue components elsewhere","2024-12-03T17:27:39Z","https://github.com/vuejs/vitepress/issues/4273",0.7290165,{"description":2889,"labels":2890,"number":2895,"owner":2860,"repository":2861,"state":2862,"title":2896,"updated_at":2897,"url":2898,"score":2899},"### 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.",[2891,2892],{"name":2857,"color":2858},{"name":2893,"color":2894},"perf","378A61",3509,"DOM is oversized","2025-03-02T18:09:47Z","https://github.com/vuejs/vitepress/issues/3509",0.7450341,{"description":2901,"labels":2902,"number":2908,"owner":2860,"repository":2861,"state":2862,"title":2909,"updated_at":2910,"url":2911,"score":2912},"### Describe the bug\r\n\r\nUsing `@babylonjs/loaders` will cause an error during the build phase: `KHR_animation_pointer.data.js`: config must export or return an object.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/vite-v1c8np4w\r\n\r\nRun `npm run docs:build`.\r\n\r\n### Expected behavior\r\n\r\nThe error \"config must export or return an object\" should not occur.\r\n\r\nRemoving `import '@babylonjs/loaders'` will prevent any errors from occurring.\r\n\r\nI suspect it might be due to the filename `KHR_animation_pointer.data.js`, which might cause VitePress to mistakenly identify it as a `data loader`, leading to this error.\r\n\r\nIf my guess is correct, might there be a need for a way to exclude specific files?\r\n\r\n### System Info\r\n\r\n```Text\r\n@babylonjs/loaders: 7.43.0\r\nvitepress: 1.5.0\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n> vitepress build docs\r\n\r\n\r\n vitepress v1.5.0\r\n\r\n⠇ building client + server bundles...failed to load config from /home/projects/vite-v1c8np4w/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js\r\nx Build failed in 3.63s\r\n✖ building client + server bundles...\r\nbuild error:\r\n[commonjs--resolver] Could not load /home/projects/vite-v1c8np4w/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js: config must export or return an object.\r\n[commonjs--resolver] Could not load /home/projects/vite-v1c8np4w/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js: config must export or return an object.\r\n at Module.loadConfigFromFile (file:///home/projects/vite-v1c8np4w/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:66589:13)\r\n at async Object.load (file:///home/projects/vite-v1c8np4w/node_modules/vitepress/dist/node/chunk-DMuPggCS.js:44533:21)\r\n \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.",[2903,2904,2905],{"name":2871,"color":2872},{"name":2857,"color":2858},{"name":2906,"color":2907},"needs more discussion","C2E0C6",4482,"Using babylonjs/loaders, the error \"config must export or return an object\" occurs","2025-03-02T18:07:54Z","https://github.com/vuejs/vitepress/issues/4482",0.7475211,{"description":2914,"labels":2915,"number":2919,"owner":2860,"repository":2861,"state":2862,"title":2920,"updated_at":2921,"url":2922,"score":2923},"Why the css and js files import fail after I [npm run build](docs:build)? In other words, the styles are lost and the web pages are messed up.\r\n\r\nWhether or not to set base is the same.\r\n\r\nThe following is the dist without the base (taking example.html as an example):\r\n\u003Cimg width=\"291\" alt=\"image\" src=\"https://github.com/user-attachments/assets/927cdd84-5ff2-4d3f-8f80-9b6f577f4f30\">\r\n\u003Cimg width=\"944\" alt=\"image\" src=\"https://github.com/user-attachments/assets/e8fbac74-3fdb-4754-81e1-6ad024428abc\">\r\n\u003Cimg width=\"1439\" alt=\"image\" src=\"https://github.com/user-attachments/assets/891b39fc-e11e-45b3-b52d-ff3f835ef734\">\r\n\r\nAs long as I change \"href=\"/assets/style.eGqldYn-.css\" to href=\"assets/style.eGqldYn-.css\", the style will return to normal.\r\n\u003Cimg width=\"1436\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ac9e36be-20da-4fc8-bda1-e8c826314c32\">\r\n\r\n\r\nIs there something wrong with the config.ts?\r\n\r\nthanks very much~\r\n\r\n-------------------------------------------------------\r\n为什么我build之后,css和js文件的引入失败呢?也就是说,样式丢失,网页错乱\r\n\r\n无论加不加base属性都是如此。\r\n\r\n以下是没有加base属性的dist文件(以example.html为例):\r\n\u003Cimg width=\"291\" alt=\"image\" src=\"https://github.com/user-attachments/assets/927cdd84-5ff2-4d3f-8f80-9b6f577f4f30\">\r\n\u003Cimg width=\"944\" alt=\"image\" src=\"https://github.com/user-attachments/assets/e8fbac74-3fdb-4754-81e1-6ad024428abc\">\r\n\u003Cimg width=\"1439\" alt=\"image\" src=\"https://github.com/user-attachments/assets/891b39fc-e11e-45b3-b52d-ff3f835ef734\">\r\n\r\n\r\n只要我将 href=\"/assets/style.eGqldYn-.css\" 改成 href=\"assets/style.eGqldYn-.css\",样式就恢复正常了。\r\n\u003Cimg width=\"1436\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ac9e36be-20da-4fc8-bda1-e8c826314c32\">\r\n\r\n是哪里的配置写错了吗?\r\n\r\n非常感谢",[2916],{"name":2917,"color":2918},"need more info","bdbefc",4165,"Why the css and js files import fail after I build? In other words, the styles are lost and the web pages are messed up.","2025-03-02T18:08:41Z","https://github.com/vuejs/vitepress/issues/4165",0.74913037,{"description":2925,"labels":2926,"number":2930,"owner":2860,"repository":2861,"state":2931,"title":2932,"updated_at":2933,"url":2934,"score":2935},"### Describe the bug\n\n文章目录不显示一级标题\n\n### Reproduction\n\n```mts\r\nimport {withMermaid} from \"vitepress-plugin-mermaid\";\r\n// https://emersonbottero.github.io/vitepress-plugin-mermaid/guide/getting-started.html\r\n// https://vitepress.dev/reference/site-config\r\nimport {generateSidebar} from 'vitepress-sidebar';\r\n\r\nexport default withMermaid({\r\n title: \"DMP-Docs\",\r\n description: \"DMP-Docs\",\r\n themeConfig: {\r\n // https://vitepress.dev/reference/default-theme-config\r\n nav: [\r\n {text: 'Home', link: '/'},\r\n ],\r\n\r\n search: {\r\n provider: 'local'\r\n },\r\n sidebar: generateSidebar({\r\n documentRootPath: '/docs',\r\n }),\r\n socialLinks: [\r\n {icon: 'github', link: 'http://10.186.18.21/dmp-dev-newbie/caomingkang/DMP-DOC'}\r\n ],\r\n\r\n outline: 'deep'\r\n },\r\n // optionally, you can pass MermaidConfig\r\n mermaid: {\r\n // refer https://mermaid.js.org/config/setup/modules/mermaidAPI.html#mermaidapi-configuration-defaults for options\r\n },\r\n // optionally set additional config for plugin itself with MermaidPluginConfig\r\n mermaidPlugin: {\r\n class: \"mermaid my-class\", // set additional css classes for parent container\r\n },\r\n\r\n})\r\n\r\n\r\n\r\n\r\n\r\n\r\n```\n\n### Expected behavior\n\n显示一级目录导航\n\n### System Info\n\n```Text\nmacos 13\r\n \"vitepress\": \"^1.0.0-rc.29\",\n```\n\n\n### Additional context\n\n\u003Cimg width=\"1159\" alt=\"Xnip2023-11-22_18-52-26\" src=\"https://github.com/vuejs/vitepress/assets/55651847/e1924277-32d5-45bb-a609-763b0e672075\">\r\n\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.",[2927],{"name":2928,"color":2929},"bug: pending triage","e99695",3234,"closed","文章目录不显示一级标题","2023-12-01T00:05:07Z","https://github.com/vuejs/vitepress/issues/3234",0.65139794,{"description":2937,"labels":2938,"number":2940,"owner":2860,"repository":2861,"state":2931,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Describe the bug\n\nWhen the vertical scroll bar appears in some long content pages, the page width changes, which results in a bad user experience.\r\n\r\nMaybe add placeholder space for the scrollbar?\r\n\r\n\r\nhttps://github.com/user-attachments/assets/e43a537c-6e7c-4880-99bb-5c8ac7d39f2e\r\n\r\n\n\n### Reproduction\n\nhttps://vitepress.dev/reference/default-theme-carbon-ads\r\n\r\ncompare to \r\n\r\nhttps://vitepress.dev/reference/default-theme-search\r\n\n\n### Expected behavior\n\nthe content width don't be changed, which means the toc's and nav bar's position will not change.\n\n### System Info\n\n```Text\nall\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.",[2939],{"name":2928,"color":2929},4215,"The page width be changed when y scrollbar appears cause bad ux","2024-09-27T04:43:38Z","https://github.com/vuejs/vitepress/issues/4215",0.6638055,{"description":2946,"labels":2947,"number":2949,"owner":2860,"repository":2861,"state":2931,"title":2950,"updated_at":2951,"url":2952,"score":2953},"### Describe the bug\n\nMy project add network request, But I need different environment variables control the request address, how should I use env in vite\r\n\r\n[Env Variables](https://vitejs.dev/guide/env-and-mode.html#env-variables)\n\n### Reproduction\n\nNone\n\n### Expected behavior\n\nI want to be able to access `import.meta.env.BASE_URL`, just like the vite project\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600KF\r\n Memory: 2.31 GB / 31.82 GB\r\n Binaries:\r\n Node: 18.19.0 - D:\\software\\nodejs\\node.EXE\r\n npm: 10.2.3 - D:\\software\\nodejs\\npm.CMD\r\n pnpm: 9.1.1 - ~\\AppData\\Local\\pnpm\\pnpm.CMD\r\n bun: 1.1.3 - ~\\.bun\\bin\\bun.EXE\r\n Browsers:\r\n Edge: Chromium (123.0.2420.97)\r\n Internet Explorer: 11.0.22621.3527\r\n npmPackages:\r\n vitepress: 1.0.2 => 1.0.2\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.",[2948],{"name":2917,"color":2918},3896,"How to using Vite Env Variables?","2024-05-24T04:42:25Z","https://github.com/vuejs/vitepress/issues/3896",0.67581844,{"description":2955,"labels":2956,"number":2958,"owner":2860,"repository":2861,"state":2931,"title":2959,"updated_at":2960,"url":2961,"score":2962},"### Is your feature request related to a problem? Please describe.\r\n\r\nI use internationalization on my VitePress website and I'd like to be able to translate the \"Skip to Content\" button label as well.\r\n\r\n### Describe the solution you'd like\r\n\r\nAn extra Default Theme config setting `skipToContentLabel`\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.",[2957],{"name":2857,"color":2858},4288,"Overwrite \"Skip to Content\" button label","2024-12-14T04:43:57Z","https://github.com/vuejs/vitepress/issues/4288",0.69014376,["Reactive",2964],{},["Set"],["ShallowReactive",2967],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fS5sqjOYz6yPC5Hk8LGA0c_QmFKUFKPVNSS4QO2wSFUA":-1},"/vuejs/vitepress/3263"]