Skip to content

Documentation

Installation

On this page

✅ 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:

  1. Extract the downloaded template file

  2. Open the folder in your code editor

  3. Run npm install

    Run this in the terminal to download dependencies into node_modules.

    cd tapotik-ai-nuxt
    npm install

💻 Development & Production

To begin development, run the dev server and open the site at http://localhost:4000:

npm run dev

When 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/public

SSR — a Nitro Node server in .output/server, run locally with npm run preview:

npm run build
npm run preview

npm 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) and app/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 in app/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

CommandWhat it does
npm run devDev server on port 4000.
npm run generateStatic build — prerenders every page to .output/public.
npm run buildSSR build — Nitro Node server in .output/server.
npm run previewServe the production build locally.
npm run typecheckType-check with vue-tsc (nuxt typecheck).
npm run lintRun ESLint (flat config).
npm run formatPrettier write.
npm run cbformat && 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.

  1. Push your project

    Push your project to a GitHub / GitLab / Bitbucket repository.

  2. Import it into Vercel

    Go to vercel.com, click Add New → Project, and import your repository.

  3. Deploy

    Click Deploy — no settings to change. The included vercel.json builds the fully static site (npm run generate → .output/public), so unknown URLs get a real 404 page. To run the SSR server on Vercel instead, delete vercel.json and Vercel's Nuxt preset will use npm run build.

Option B — Any Node.js host (VPS, Render, Railway, etc.)

  1. Build the app

    npm run build
  2. Start the server

    Terminal
    node .output/server/index.mjs

    It listens on the PORT environment variable (default 3000).

  3. Put it behind a reverse proxy

    Use Nginx / Caddy and point your domain at it.

Option C — Any static host

  1. Build the app

    npm run generate
  2. Upload the build output

    Upload the contents of .output/public/ (it includes a 404.html for unknown URLs).

  3. Serve the site

    Serve it with Nginx / Caddy (or any static host) and point your domain at it.

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.