vitepress
vitepress copied to clipboard
Does vitepress support running directly after building without deployment?
trafficstars
Is your feature request related to a problem? Please describe.
Does vitepress support running directly after building without deployment?
Describe the solution you'd like
i want to run it directly without deploying it to a server. I have tried using base './' but it causes problems when redirecting to another route.
Describe alternatives you've considered
No response
Additional context
No response
Validations
- [x] Follow our Code of Conduct
- [x] Read the docs.
- [x] Read the Contributing Guidelines.
- [x] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Relative base isn't supported. And if by running directly you mean directly opening the generate html files in browser, then that's not supported either. You'll need to use a server. You can run vitepress preview docs for built-in prod server.