\n\u003Cimg width=\"1890\" height=\"470\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/1b63e5fd-3d4d-4c14-8861-271409800222\" />\n\u003Cimg width=\"1420\" height=\"215\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/1d036d80-1d0f-445e-a799-9763e9b5580e\" />\n\n\n\n### Reproduction\n\nno\n\n### Expected behavior\n\nCan add public path normally\n\n### System Info\n\n```Text\nwindows11 ,chrome latest\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.",[3197],{"name":3198,"color":3199},"need more info","bdbefc",4886,"Document deployment does not support the base option (public path) of the VitePress configuration.?","2025-08-06T06:36:15Z","https://github.com/vuejs/vitepress/issues/4886",0.6690227,{"description":3206,"labels":3207,"number":3209,"owner":3149,"repository":3150,"state":3151,"title":3210,"updated_at":3211,"url":3212,"score":3213},"### Describe the bug\n\nThe latest version of VitePress is not respecting `vite.config.ts` in my project (a very mini one). It's working in the stackblitz template, but my project structures a little bit differently (the `docs` folder is the root) so I'm not sure if it's a bug or it's intended.\r\n\r\nIf someone can please clone and have a look, it's really appreciated.\r\n\r\nAnd also, seems documentation of customizing `Vite`'s configuration is missing in the docs\n\n### Reproduction\n\nhttps://github.com/xsjcTony/docs\r\n\r\nI've put `vite.config.ts` in both root and under `.vitepress` but none of them works.\r\nThanks a lot for the help!\n\n### Expected behavior\n\nIt should pick up either `vite.config.ts` (either at the root or in `.vitepress` folder, I think it should pick the one at the root)\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz\r\n Memory: 42.69 GB / 63.84 GB\r\n Binaries:\r\n Node: 18.14.0 - C:\\NodeJS\\node.EXE\r\n Yarn: 1.22.19 - C:\\NodeJS\\yarn.CMD\r\n npm: 9.4.2 - C:\\NodeJS\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.41)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.46 => 1.0.0-alpha.46\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.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3208],{"name":3146,"color":3147},1939,"Latest version of VitePress is not respecting `vite.config.ts`","2023-07-27T00:04:23Z","https://github.com/vuejs/vitepress/issues/1939",0.66985005,{"description":3215,"labels":3216,"number":3217,"owner":3149,"repository":3150,"state":3151,"title":3218,"updated_at":3219,"url":3220,"score":3221},"In Vitepress (vuejs/vitepress), the page HTML base path (`site.base`) and the static assets base path (`vite config.base`, equivalent to `publicPath` in webpack) are not handled separately. This causes issues when deploying the HTML and CDN separately (with the HTML being served from a dedicated domain and the CDN deployed on a general CDN service). The built pages cannot navigate correctly or the static assets fail to load properly.\r\n\r\nThe current code handling both `site.base` and `vite.config.base` consistently can be found at the following link:\r\n\r\nhttps://github.com/vuejs/vitepress/blob/b16340acbd3c60fee023daadb0ec5a0292060a1e/src/node/build/bundle.ts#L60\r\n\r\nIt would be beneficial to separate the handling of these two base paths to better support different deployment scenarios.",[],2144," Separate handling of page HTML base path and static assets base path in Vitepress","2023-04-04T00:03:58Z","https://github.com/vuejs/vitepress/issues/2144",0.6704502,{"description":3223,"labels":3224,"number":3226,"owner":3149,"repository":3150,"state":3151,"title":3227,"updated_at":3228,"url":3229,"score":3230},"### Is your feature request related to a problem? Please describe.\r\n\r\nWhen reading the docs of VitePress from beginning to end, I found that `base` is mentioned the first time in https://vitepress.vuejs.org/guide/deploying.html#github-pages , I didn't know what it was for until I found https://vitepress.vuejs.org/config/app-configs.html#base .\r\n\r\n### Describe the solution you'd like\r\n\r\nIt would be nice to briefly describe what `base` does in the [Deploying](https://vitepress.vuejs.org/guide/deploying.html) section, or at least add a link to the [App Configs](https://vitepress.vuejs.org/config/app-configs.html#base) page.\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.vuejs.org).\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.",[3225],{"name":3146,"color":3147},789,"Explanation of `base`","2023-01-21T14:32:36Z","https://github.com/vuejs/vitepress/issues/789",0.6704864,{"description":3232,"labels":3233,"number":3235,"owner":3149,"repository":3150,"state":3151,"title":3236,"updated_at":3237,"url":3238,"score":3239},"### Describe the bug\n\nIt is passed as `build.base` instead of root level `base` option\r\n\r\n```log\r\n\"build.base\" option is deprecated. \"base\" is now a root-level config option.\r\n```\n\n### Reproduction\n\nN/A\n\n### Expected behavior\n\nNo warning and work\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.0\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 3.91 GB / 64.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.15.1 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/node\r\n Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/yarn\r\n npm: 8.12.1 - ~/Library/Caches/fnm_multishells/985_1655820447617/bin/npm\r\n Browsers:\r\n Chrome: 102.0.5005.115\r\n Firefox: 101.0.1\r\n Safari: 16.0\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2\n```\n\n\n### Additional context\n\nWorking on a fix.\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3234],{"name":3171,"color":3172},835,"`vitepress build docs --base /xxx/` does not work as expected","2023-01-21T14:34:00Z","https://github.com/vuejs/vitepress/issues/835",0.6707215,["Reactive",3241],{},["Set"],["ShallowReactive",3244],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fD8ski6ZVHI96XlppdosENzgZaQxGfGDRCQwhPMSbQ14":-1},"/vuejs/vitepress/181"]