-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev home page doesn't honor base config #181
Comments
I have the same problem. It seems not work that specified a |
Check out #105 |
As a workaround env var can be used to avoid hard coding. |
I think it's perfect that to support two modes to use vitepress. |
Yes, |
Describe the bug
yarn docs:dev
renders home page onhttp://localhost:3000
despite base is defined in config.js. But asset links honor the base path.To Reproduce
Steps to reproduce the behavior:
/foo/
yarn docs:dev
Expected behavior
Site should be rendered at
http://localhost:3000/foo/
System Info
The text was updated successfully, but these errors were encountered: