Prerequisites
- A project that runs locally with
veryfront dev(see Create project). - For Veryfront Cloud: a
VERYFRONT_API_TOKENand a project reference. Runveryfront loginor set the env vars. See Configuration. - For another host: any container or Node-compatible runtime that can serve the build output.
Build
Create a production build:dist/.
Run the production build locally
Stop the dev server, then serve the production build:Deploy to Veryfront Cloud
Deploy somewhere else
For a non-Cloud target, runveryfront build and ship the dist/ output. See
Building and deploying.
Verify it worked
Afterveryfront deploy, run: