Is there any setting that can support base url?
Closed this issue ยท 4 comments
Hi, I am using cncf landscape2 to build a landscape web page for front-end opensource software. However, the current landscape2 does not support base url
. Because I want to deploy it to a URL like https://foo.github.io/landscape/
.
Is there any solution to this problem?
FYI: here is a vitepress base url config https://vitepress.dev/guide/asset-handling#base-url
If your site is deployed to a non-root URL, you will need to set the base option in .vitepress/config.js. For example, if you plan to deploy your site to https://foo.github.io/bar/, then base should be set to '/bar/' (it should always start and end with a slash).
Many thanks!
Hi @flyfishzy ๐
Not at the moment, but this is something we'd like to have to we'll take care of it ๐
Thanks a lot ! I'm really looking forward to it.
This is ready @flyfishzy ๐
You can see it in action in this repository: https://github.com/tegioz/sample-landscape
Thank you!!! It works for me.