Deploy guide
How to deploy VitePress
VitePress builds your site to a folder of plain files. Here's how to build it, which folder to publish, and the setup on each host.
npm run docs:builddocs/.vitepress/dist
Pick a host
Where do you want it?
Before any host
Build it
Run npm run docs:build. The site comes out in docs/.vitepress/dist: that folder is what goes online, whichever host you pick.
Good to know
Worth knowing first
- This assumes the usual layout, with the docs in a
docsfolder and adocs:buildscript. If your docs live at the root, the folder is.vitepress/dist. - VitePress needs Node 20 or newer.
Or skip the setup
Drop it in. It's online in seconds.
A file, a folder or a whole site: 99helpers puts it online at its own address, with no git, no build settings and no DNS to start with. Add your own domain whenever you're ready.