\r\n2. 配置文件如下所示:\u003Cbr /> \n\n### Expected behavior\n\n使用 Github 自带的 https://xihuanxiaorang.github.io/docs/ 访问就没有任何问题,如果是使用自定义域名 https://docs.xiaorang.fun/ 的话,样式就会丢失\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz\r\n Memory: 659.73 MB / 3.92 GB\r\n Binaries:\r\n Node: 20.11.0 - E:\\nodejs\\node.EXE\r\n Yarn: 1.22.21 - E:\\nodejs\\node_global\\yarn.CMD\r\n npm: 10.2.4 - E:\\nodejs\\npm.CMD\r\n pnpm: 8.14.3 - E:\\nodejs\\node_global\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (120.0.2210.144)\r\n Internet Explorer: 11.0.19041.3636\r\n npmPackages:\r\n vitepress: 1.0.0-rc.40 => 1.0.0-rc.40\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.",[2938],{"name":2939,"color":2940},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.6765607,{"description":2947,"labels":2948,"number":2950,"owner":2869,"repository":2870,"state":2881,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Describe the bug\r\n\r\n运行npm run docs:build 命令,为什么打包会受node_modules的影响。该如何修复这个问题\r\n Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /Users/linjiahao7/Documents/Project/web-jac-plus/docs/node_modules/lodash-es/lodash.js\r\n\u003Cimg width=\"1286\" alt=\"image\" src=\"https://user-images.githubusercontent.com/56730345/160794817-069cf7d8-a148-4ec7-81a1-3f48651d86a6.png\">\r\n\r\n\r\n### Reproduction\r\n\r\nnpm run docs:build\r\n\r\n### Expected behavior\r\n\r\n怎么去修复这个问题,才能打包成功\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 11.3.1\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 217.70 MB / 16.00 GB\r\n Shell: 5.8 - /bin/zsh\r\n Binaries:\r\n Node: 14.17.3 - /usr/local/bin/node\r\n Yarn: 1.22.10 - /usr/local/bin/yarn\r\n npm: 6.14.13 - /usr/local/bin/npm\r\n Browsers:\r\n Firefox: 98.0.2\r\n Safari: 14.1\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.",[2949],{"name":2866,"color":2867},592,"build error","2023-01-21T14:26:52Z","https://github.com/vuejs/vitepress/issues/592",0.67765087,{"description":2956,"labels":2957,"number":2959,"owner":2869,"repository":2870,"state":2881,"title":2960,"updated_at":2961,"url":2962,"score":2963},"### Describe the bug\r\n\r\nAfter launched the dev it thrown this exception:\r\n20:50:08 [vitepress] Internal server error: end of the stream or a document separator is expected at line 3, column 7:\r\n layout: home\r\n ^\r\n Plugin: vitepress\r\n File: /Users/feiron/Movies/CSKB_Hosting-master/docs/index.md\r\n at generateError (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:22356:10)\r\n at throwError (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:22362:9)\r\n at readDocument (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23734:5)\r\n at loadDocuments (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23777:5)\r\n at load$1 (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23803:19)\r\n at Object.safeLoad (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:23826:10)\r\n at parse$5 (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25053:17)\r\n at parseMatter (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25162:17)\r\n at matter (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25103:10)\r\n at md.render (file:///Users/feiron/Movies/CSKB_Hosting-master/node_modules/.store/vitepress@1.2.3/node_modules/vitepress/dist/node/serve-CEEKiiuH.js:25288:45)\r\n\r\nmeanwhile, the page rendered as 404;\r\nafter a refresh, it displayed the root markdown and ignored the frontmatter.\r\n\r\nhere's screenshots for comparison:\r\n\u003Cimg width=\"1792\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/7c14cd72-fc0c-489b-b9b1-168ca998bc38\">\r\n\r\nand here's what it should be:\r\n\u003Cimg width=\"1792\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/76692987-1127-4409-a555-d4e73b2d8486\">\r\n\r\nother screenshots: \r\n\u003Cimg width=\"433\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/0f382110-eed9-46ba-9ef5-2a82f99e0c7c\">\r\n\u003Cimg width=\"1073\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/53085628/8ae5c63c-a793-4fce-afc1-f860fd0ec3a3\">\r\n\r\n\r\n### Reproduction\r\n\r\nhere's the online repro:\r\nhttps://stackblitz.com/edit/vite-kcrtdk\r\n\r\n- \u003Cdel>Set up i18n\u003C/del> this step is not necessary\r\n- Set up a series of frontmatter which implements default theme layout in default language path\r\n- add \"features\" part after the layout setups\r\n- write some markdown and some HTML after the end of frontmatter\r\n- run in dev\r\n\r\n\r\n### Expected behavior\r\n\r\nthe rendered page should display as what set-up by layout preset.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 14.5\r\n CPU: (8) arm64 Apple M1\r\n Memory: 50.77 MB / 16.00 GB\r\n Shell: 3.2.57 - /bin/sh\r\n Binaries:\r\n Node: 20.9.0 - /usr/local/bin/node\r\n npm: 10.1.0 - /usr/local/bin/npm\r\n Browsers:\r\n Safari: 17.5\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.45 => 1.2.3\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nI've checked for duplicate but I don't know if there's any expression that represents to my same meaning.\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.",[2958],{"name":2908,"color":2909},3971,"Render ignored frontmatter of layout in root page","2024-07-04T04:41:52Z","https://github.com/vuejs/vitepress/issues/3971",0.68845236,["Reactive",2965],{},["Set"],["ShallowReactive",2968],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fguWb7hvuM1rYiJ9eJLpDi22OZDv-fBSiCw6ZNwU2x8E":-1},"/vuejs/vitepress/1107"]