vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

Does vitepress support running directly after building without deployment?

Open maxfrees opened this issue 7 months ago • 1 comments
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

maxfrees avatar Apr 21 '25 01:04 maxfrees

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.

brc-dd avatar Apr 21 '25 03:04 brc-dd