```\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",[2856],{"name":2857,"color":2858},"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.6975702,{"description":2868,"labels":2869,"number":2873,"owner":2860,"repository":2861,"state":2862,"title":2874,"updated_at":2875,"url":2876,"score":2877},"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非常感谢",[2870],{"name":2871,"color":2872},"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.70078546,{"description":2879,"labels":2880,"number":2888,"owner":2860,"repository":2861,"state":2862,"title":2889,"updated_at":2890,"url":2891,"score":2892},"### 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.",[2881,2884,2885],{"name":2882,"color":2883},"build","377ba8",{"name":2857,"color":2858},{"name":2886,"color":2887},"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.70196164,{"description":2894,"labels":2895,"number":2900,"owner":2860,"repository":2861,"state":2862,"title":2901,"updated_at":2902,"url":2903,"score":2904},"### 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.",[2896,2897],{"name":2857,"color":2858},{"name":2898,"color":2899},"perf","378A61",3509,"DOM is oversized","2025-03-02T18:09:47Z","https://github.com/vuejs/vitepress/issues/3509",0.72362095,{"description":2906,"labels":2907,"number":2912,"owner":2860,"repository":2861,"state":2862,"title":2913,"updated_at":2914,"url":2915,"score":2916},"### Is your feature request related to a problem? Please describe.\n\nIt is not related to a direct problem that I have but instead a feature that I would be a great addition to the overall documentation experience that Vitepress provides,\n\n### Describe the solution you'd like\n\nIt would be great if the links that we embed into a page would have some kind of preview popup that gets displayed to the user via the use of an iframe or simply using the open graph protocol. Similar to what Trello does here \r\n\u003Cimg width=\"617\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/26552540/8c86f966-1edb-4ac6-8fe4-8cd17e7a5467\">\r\n As you can see, when I hover over the link a preview is displayed to the user with information regarding the link, it could be through an iframe open graph or both.\n\n### Describe alternatives you've considered\n\nI have not considered any alternatives because I believe that non exist that fulfil the idea that I have in mind\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.",[2908,2911],{"name":2909,"color":2910},"theme","0754FB",{"name":2857,"color":2858},3263,"Link previews","2025-03-02T18:10:14Z","https://github.com/vuejs/vitepress/issues/3263",0.72613287,{"description":2918,"labels":2919,"number":2923,"owner":2860,"repository":2861,"state":2924,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### Describe the bug\n\nhttps://github.com/vuejs/vitepress/blob/3eb4374af286362d7f4257b288fd2d5b9173dcba/src/client/theme-default/styles/vars.css#L177\r\n\r\nIncorrectly output as:\r\n```\r\n --vp-c-text-1: rgba(60, 60, 67);\r\n```\n\n### Reproduction\n\nThis can be found easily from the npm repo: https://www.npmjs.com/package/vitepress?activeTab=code\r\n\r\nThen go to `dist/client/theme-default/styles/vars.css`, line 177.\n\n### Expected behavior\n\nShould be\r\n```\r\n --vp-c-text-1: rgba(60, 60, 67, 1);\r\n```\n\n### System Info\n\n```Text\nNot relevant\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.",[2920],{"name":2921,"color":2922},"bug: pending triage","e99695",4439,"closed","Variable \"--vp-c-text-1\" is incorrect in the bundle ouput","2024-12-29T04:43:46Z","https://github.com/vuejs/vitepress/issues/4439",0.6798872,{"description":2930,"labels":2931,"number":2935,"owner":2860,"repository":2861,"state":2924,"title":2936,"updated_at":2937,"url":2938,"score":2939},"Hello VitePress Team,\r\n\r\nI am encountering two issues with my VitePress project and seeking guidance.\r\n\r\n1. **Sidebar Title Formatting Not Effective**: \r\n I have been trying to customize the sidebar title formatting in my VitePress site, but it seems not to be working as expected. Despite using the recommended plugins, including `toc`, the sidebar either doesn't reflect the specified title formats or disappears completely. Attached is a screenshot of my current interface for reference:\r\n \r\n\r\n Here is the code snippet I am using (I've ensured all necessary libraries are installed):\r\n \r\n\r\n Could you please clarify if there's anything I am missing or doing incorrectly? Any guidance on how to properly format the sidebar titles would be greatly appreciated.\r\n\r\n2. **Navigation Placement on the Left**:\r\n I am trying to achieve a layout similar to VuePress where the navigation is on the left side. Although I have disabled the sidebar and set `aside: \"left\"`, the final layout seems to have excessive white space on the left. How should I configure it to get the desired layout? Here is a screenshot showing the current layout:\r\n \r\n\r\nThank you for your assistance. Looking forward to your suggestions and solutions.\r\n",[2932],{"name":2933,"color":2934},"question","5D5FAE",3422,"侧边栏配置","2024-01-16T00:04:37Z","https://github.com/vuejs/vitepress/issues/3422",0.69076765,{"description":2941,"labels":2942,"number":2943,"owner":2860,"repository":2861,"state":2924,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Is your feature request related to a problem? Please describe.\n\nThere is currently no easy way to set the text direction of an entire website. While it is possible to add global CSS, that is [not the recommended approach](https://www.w3.org/International/tutorials/bidi-xhtml/index#browser).\n\n### Describe the solution you'd like\n\nIt would be useful to add a config to set `dir=\"ltr/rtl\"` of the `\u003Chtml>` element, so that docs written in [RTL scripts](https://www.w3.org/International/questions/qa-scripts) using VP can be better supported.\n\n### Describe alternatives you've considered\n\nUse the CSS [direction](https://www.w3.org/TR/css-writing-modes-4/#direction) property to customize the theme.\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] 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.",[],902,"How to set the text direction?","2023-01-25T00:04:23Z","https://github.com/vuejs/vitepress/issues/902",0.7079455,{"description":2949,"labels":2950,"number":2951,"owner":2860,"repository":2861,"state":2924,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Is your feature request related to a problem? Please describe.\n\nsome function in `frontmatter.title`, like below:\r\n\r\n```markdown\r\n---\r\nlayoutClass: a-home-layout\r\ntitle: ${{ getWishNameStr(GameName.ZZZ) }}时间轴\r\noutline: false\r\naside: false\r\nsidebar: false\r\ndoc: false\r\nfooter: false\r\n---\r\n```\r\n\r\n\u003Cimg width=\"532\" alt=\"123\" src=\"https://github.com/vuejs/vitepress/assets/34206897/6fd4f405-dddb-46d1-a164-7dee1aaa476f\">\r\n\n\n### Describe the solution you'd like\n\nThe page title should be the result of the calculation. In this case it should be: `调频时间轴 | Augus Game`\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.",[],4025,"What if I use the function in frontmatter?","2024-07-15T04:43:22Z","https://github.com/vuejs/vitepress/issues/4025",0.7081254,{"description":2957,"labels":2958,"number":2959,"owner":2860,"repository":2861,"state":2924,"title":2960,"updated_at":2961,"url":2962,"score":2963},"### Describe the bug\n\nClick on the search box and the page will look right offset,This problem also exists in Vue,This is caused by the scroll bar on the right。\n\n### Reproduction\n\nClick on the search box.\n\n### Expected behavior\n\nClick the search box, the page does not offset\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.",[],3589,"searchbox","2024-03-24T00:05:34Z","https://github.com/vuejs/vitepress/issues/3589",0.71048105,["Reactive",2965],{},["Set"],["ShallowReactive",2968],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f9FY25neAqleX7zmPWmIU8zhRKKZoTiO0oqghMbDqp5o":-1},"/vuejs/vitepress/3987"]