\r\n \u003C/head>\r\n \u003Cbody>\r\n \u003Cp>Hello, world!\u003C/p>\r\n \u003C/body>\r\n\u003C/html>\r\n```\r\n\r\nThen run `npx vitepress dev`, open http://localhost:5173/, and click on the green \"foo\" button that appears. VitePress gives a 404 error page. Reload the page, and the correct HTML page should appear with the contents \"Hello, world!\"\r\n\r\nGo back to http://localhost:5173/, and this time open the green \"foo\" button's link in a new tab. Observe that the page is loaded correctly with no 404.\r\n\r\n### Expected behavior\r\n\r\nVitePress should load the page correctly when clicking the link to open it in the current tab.\r\n\r\n### System Info\r\n\r\n```\r\nSystem:\r\n OS: macOS 12.6.1\r\n CPU: (8) arm64 Apple M1\r\n Memory: 277.38 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node\r\n Yarn: 1.22.19 - ~/.yarn/bin/yarn\r\n npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm\r\n Browsers:\r\n Chrome: 108.0.5359.98\r\n Firefox: 90.0\r\n Safari: 16.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.30 => 1.0.0-alpha.30\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.",[],1685,"404 error when clicking link to public","2023-01-21T14:17:08Z","https://github.com/vuejs/vitepress/issues/1685",0.6593413,{"description":2920,"labels":2921,"number":2925,"owner":2874,"repository":2875,"state":2888,"title":2926,"updated_at":2927,"url":2928,"score":2929},"### Describe the bug\n\n使用官方文档的部署脚本成功部署到Github Pages之后,此时如果配置使用自定义域名的话,访问时样式会丢失\n\n### Reproduction\n\n1. 博客目录结构如下所示:\u003Cbr />\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.",[2922],{"name":2923,"color":2924},"question","5D5FAE",3513,"部署到Github Pages之后,如果使用自定义域名的话样式会丢失","2024-02-07T00:04:15Z","https://github.com/vuejs/vitepress/issues/3513",0.66741765,{"description":2931,"labels":2932,"number":2934,"owner":2874,"repository":2875,"state":2888,"title":2935,"updated_at":2936,"url":2937,"score":2938},"### Describe the bug\n\nUpon following the starter instructions in the [docs](https://vitepress.vuejs.org/guide/getting-started.html), running `yarn docs:dev` yields a blank webpage at `localhost:3000` with the error shown below in the console.\r\n\r\n\r\n\n\n### Reproduction\n\nFollowing the instructions outlined on the Getting Started page on [vitepress.vuejs.org](https://vitepress.vuejs.org/guide/getting-started.html).\n\n### Expected behavior\n\n\"Hello Vitepress\" should be rendered to the screen with no error messages in the console.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.13 Fedora 34 (Workstation Edition) 34 (Workstation Edition)\r\n CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz\r\n Memory: 2.30 GB / 15.28 GB\r\n Container: Yes\r\n Shell: 5.1.0 - /bin/bash\r\n Binaries:\r\n Node: 14.17.0 - /usr/bin/node\r\n Yarn: 1.22.5 - /usr/bin/yarn\r\n npm: 7.20.5 - /usr/local/bin/npm\r\n Browsers:\r\n Chrome: 92.0.4515.131\r\n Firefox: 90.0.2\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2933],{"name":2868,"color":2869},355,"import not found: defineEmit","2023-01-21T16:22:12Z","https://github.com/vuejs/vitepress/issues/355",0.66871434,{"description":2940,"labels":2941,"number":2945,"owner":2874,"repository":2875,"state":2888,"title":2946,"updated_at":2947,"url":2948,"score":2949},"### Describe the bug\n\nany page which contains `process.env.NODE_ENV !== 'production'`, it will report 404 error\n\n### Reproduction\n\nstep 1: clone https://github.com/Alanscut/vitepress-demo\r\n\r\nstep 2: run the project\r\n\r\nstep 3: visit the page\r\n\r\n\n\n### Expected behavior\n\ncould visit the page normally, the page will show:\r\n\r\n\r\n\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz\r\n Memory: 7.05 GB / 15.90 GB\r\n Binaries:\r\n Node: 12.22.5 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.11 - E:\\npm\\repo\\yarn.CMD\r\n npm: 7.21.1 - ~\\node_modules\\.bin\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1023.0), Chromium (94.0.992.50)\r\n Internet Explorer: 11.0.19041.1202\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2942],{"name":2943,"color":2944},"build","377ba8",419,"pages contains `process.env.NODE_ENV !== 'production'` report 404 error","2023-01-21T14:32:51Z","https://github.com/vuejs/vitepress/issues/419",0.67199713,{"description":2951,"labels":2952,"number":2954,"owner":2874,"repository":2875,"state":2888,"title":2955,"updated_at":2956,"url":2957,"score":2958},"### Describe the bug\n\nwhen configuring the search engine as the documentation mentions https://vitepress.dev/reference/default-theme-search#local-search, the app breaks:\r\n\r\n\r\n\r\n\r\n\n\n### Reproduction\n\n:)\n\n### Expected behavior\n\n\r\n\n\n### System Info\n\n```sh\n$ npx envinfo --system --npmPackages vitepress --binaries --browsers\r\nnpx: installed 1 in 2.16s\r\n\r\n System:\r\n OS: Windows 10 10.0.19045\r\n CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz\r\n Memory: 4.40 GB / 15.82 GB\r\n Binaries:\r\n Node: 14.19.0 - D:\\nodejs\\node.EXE\r\n Yarn: 1.22.17 - D:\\nodejs\\yarn.CMD\r\n npm: 6.14.16 - D:\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.57)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: latest => 1.0.0-beta.1\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.",[2953],{"name":2868,"color":2869},2435,"Local Search Error","2023-06-05T00:04:07Z","https://github.com/vuejs/vitepress/issues/2435",0.6721817,{"description":2960,"labels":2961,"number":2963,"owner":2874,"repository":2875,"state":2888,"title":2964,"updated_at":2965,"url":2966,"score":2967},"### Describe the bug\n\nmy defineConfig:\r\n\r\nwhen i build and release to website, i get a 404 when use local search:\r\n\r\n\r\n\r\n404 on `run docs:preview` too, only ok `run docs:dev`\n\n### Reproduction\n\nvitepress version v1.0.0-alpha.73\r\n\r\nWindows 11 \n\n### Expected behavior\n\n..\n\n### System Info\n\n```shell\n..\n```\n\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2962],{"name":2868,"color":2869},2276,"I use rewrites URL, local search get 404 on build version","2023-05-05T00:04:13Z","https://github.com/vuejs/vitepress/issues/2276",0.67287904,["Reactive",2969],{},["Set"],["ShallowReactive",2972],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fTBJbD3UonWaKp9qqS8h1OLXlTpSK5iMXoIoxbFGt_24":-1},"/vuejs/vitepress/4518"]