Appearance
Deploy
Your template builds to static files: HTML, CSS, JavaScript and images in one folder, dist/. Any web host can serve it. There is no server code, database or environment variable to set up.
In a hurry? Deploy in 2 minutes has the short version for Vercel, Netlify, Cloudflare Pages and any static host.
bash
npm install
npm run build # → dist/
npm run preview # optional: check the build at http://localhost:4173Pick a host
| Host | Price to start | Best for | Deploys from |
|---|---|---|---|
| Vercel | Free tier | Fastest setup, previews for every change | Git repo, or CLI |
| Netlify | Free tier | Drag-and-drop deploys, built-in forms | Git repo, drag-and-drop, or CLI |
| Cloudflare Pages | Free tier | Very fast worldwide, generous free limits | Git repo, direct upload, or CLI |
| GitHub Pages | Free (see notes) | Sites already managed on GitHub | GitHub Actions |
| cPanel / shared hosting | Your hosting plan | Clients who already pay for hosting with email | File Manager or FTP upload |
All of them give you free HTTPS. Connecting your own domain is covered in Custom domains & HTTPS.
Settings that are the same everywhere
| Setting | Value |
|---|---|
| Framework preset | Vite (or "Other" / "None") |
| Install command | npm install |
| Build command | npm run build |
| Output / publish directory | dist |
| Node.js version | 22 (the project's .nvmrc says 22) |
| Environment variables | None needed |
| Redirects / rewrites | None needed (single page, hash links) |
Works in a sub-folder too
vite.config.js uses base: './', so every asset path in the build is relative. The same dist/ works at https://example.com/, at https://example.com/new-site/, and at https://username.github.io/repo/ without changes. Don't change base unless you know you need to.
Deploying from Git needs your own repo
Hosts like Vercel, Netlify and Cloudflare Pages build automatically whenever you push to a Git repository. They need permission to read that repository, which you can't grant on usetemplates/<slug> (you have read-only access). So:
- Push your customised site to your own private repo, as described in GitHub access & cloning → Put your work in your own private repo.
- Connect that repo to the host.
Or skip Git entirely: every host on this list also accepts a direct upload of dist/.
Before you go live: checklist
- Demo text replaced (brand name, contact details, prices, reviews)
- Demo images replaced, or Unsplash photos you're happy to keep
<title>, meta description and Open Graph tags set (SEO basics)- Favicon and logo replaced (Logo & favicon)
- Forms connected to a form service, or removed
- Menu links match the sections you kept
npm run buildruns without errors andnpm run previewlooks right- Checked on a phone
Next
The short version: Deploy in 2 minutes. Or choose your host: Vercel · Netlify · Cloudflare Pages · GitHub Pages · cPanel