Deploy#

To deploy your vitro website you can use a website hosting platform like Vercel

To produce your static assets you can run

sh
1
vitro build --out ./dist

Change base path#

In case you want to deploy to a sub path like https://example.com/path you will need to pass the basePath option in config

js
1
// vitro.config.js
2
module.exports = {
3
basePath: '/path',
4
}
Deploy