Skip to content

Does vitepress support running directly after building without deployment? #4706

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

Open
4 tasks done
maxfrees opened this issue Apr 21, 2025 · 1 comment
Open
4 tasks done

Comments

@maxfrees
Copy link

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

@brc-dd
Copy link
Member

brc-dd commented Apr 21, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants