Documentation
Installation
On this page
- ✅ Key Requirements
- 🚀 Getting Started
- Extract the downloaded template file
- Open the folder in your code editor
- Run npm install
- 💻 Development & Production
- 🗂️ Key Configuration Files
- 📜 Helpful Scripts
- 🌍 Deployment Options
- Option A — Vercel (recommended, easiest)
- Push your project
- Import it into Vercel
- Deploy
- Option B — Any Node.js host (VPS, Render, Railway, etc.)
- Build the app
- Start the server
- Put it behind a reverse proxy
- Option C — Any static host
- Build the app
- Upload the build output
- Serve the site
- 🧩 A Note on Data
✅ Key Requirements
Before starting, you'll need:
- Node.js version 22.22.3 / 24.15 or higher (LTS recommended) — required by Nuxt 4.
- A package manager like npm (bundled with Node), or
pnpm/yarn/bun. - A code editor (VS Code recommended).
- Git (optional, but recommended for deployment).
No database, backend, or server software is required — Tapotik AI is a UI-only template.
🚀 Getting Started
The setup involves three main steps:
💻 Development & Production
To begin development, run the dev server and open the site at http://localhost:4000:
npm run devWhen ready to launch, create an optimized production build and preview it locally. The template supports both a static build and an SSR (server-rendered) build.
Static — every page is prerendered to .output/public (plus sitemap.xml, robots.txt, and a real 404.html):
npm run generate
npx serve .output/publicSSR — a Nitro Node server in .output/server, run locally with npm run preview:
npm run build
npm run previewnpm run preview works after either build and serves the site at http://localhost:3000 (set the PORT environment variable to change it). There is no npm start script — preview is the local production run, and on a server you start the app with node .output/server/index.mjs (see Deployment Options below).
npm run build and npm run generate do not type-check on their own. TypeScript runs in strict mode — npm run typecheck (vue-tsc) and npm run lint are the type + lint gate, and npm run cb runs them together with both builds, so any TypeScript or ESLint error fails it.
🗂️ Key Configuration Files
Most customizations don't require modifying component code:
- Site details —
app/config/site.ts(branding, navigation, social links, site URL) andapp/app.vue(default title template, description, Open Graph / Twitter tags). - Design tokens —
app/assets/css/main.css(colors, radius, utilities). - Typography —
nuxt.config.ts(fonts.families, Google Fonts via@nuxt/fonts) + the--font-*names inapp/assets/css/main.css. - Content & mock data —
app/lib/data.ts(blog posts, job openings, docs nav, pricing, testimonials).
See the Customization page for full details.
📜 Helpful Scripts
| Command | What it does |
|---|---|
npm run dev | Dev server on port 4000. |
npm run generate | Static build — prerenders every page to .output/public. |
npm run build | SSR build — Nitro Node server in .output/server. |
npm run preview | Serve the production build locally. |
npm run typecheck | Type-check with vue-tsc (nuxt typecheck). |
npm run lint | Run ESLint (flat config). |
npm run format | Prettier write. |
npm run cb | format && lint && typecheck && generate && build — run this before committing. |
🌍 Deployment Options
Tapotik AI is a standard Nuxt 4 app that supports both deploy styles: a fully static site (npm run generate) for Vercel or any static host, or an SSR Node server (npm run build) for Vercel or any Node.js-compatible host like Railway or Render.
Before deploying, update the production domain in siteConfig.url (app/config/site.ts) so metadata, sitemap.xml, and robots.txt generate correctly.
Option A — Vercel (recommended, easiest)
Import it into Vercel
Go to vercel.com, click Add New → Project, and import your repository.
Option B — Any Node.js host (VPS, Render, Railway, etc.)
Option C — Any static host
Other platforms such as Netlify, Cloudflare Pages, and AWS Amplify work too — use their Nuxt preset.
With npm run generate, every page is statically prerendered; with npm run build, pages are server-rendered on request (sitemap.xml and robots.txt are prerendered in both). /blog supports category filtering via ?category=.
🧩 A Note on Data
This is a UI-only template — there is no backend. All content lives in app/lib/data.ts and forms simulate success via the useSimulatedSubmit() composable (app/composables/useSimulatedSubmit.ts). Its setTimeout is the single seam to swap for a real API request when you add a backend.