Build first
npm run build
Deploy the contents of dist/. It is plain HTML, CSS and assets, so any static host works.
Static hosts (Netlify, Vercel, Cloudflare Pages)
- Connect your repository, or drag and drop the
dist/folder. - Build command:
npm run build. Output directory:dist. - Add your client's domain in the host's dashboard and follow its DNS instructions.
Coolify or a VPS
Serve dist/ with any static file server (for example Nginx or Caddy), or use Coolify's static site option pointed at your repository with the same build command and output directory.
cPanel
Upload the contents of dist/ to public_html/ (or the domain's document root) with the File Manager or FTP. Keep the folder structure as it is.
Before you go live
Run through the Website Launch Checklist: SEO tags, analytics, legal pages, forms, performance and redirects from http to https.