Limited-time sale: up to 39% off all plans.Get the deal
Shadcnadmin.com

Search

Search dashboards, components and blocks

Deployment

Documentation

Deployment

Ship your dashboard to Vercel, Netlify or any static host.

Overview

FrameworkOutputGood fits
Next.jsNode server or serverless functionsVercel, Netlify, any Node host, Docker
ReactStatic files in dist/Vercel, Netlify, Cloudflare Pages, S3, any CDN
Vue.jsStatic files in dist/Vercel, Netlify, Cloudflare Pages, S3, any CDN
SvelteDepends on the adapterVercel, Netlify, Cloudflare, Node

Vercel

Vercel detects every framework automatically, so this works for all four versions:

  1. Push your project to GitHub

    Use your own repository (see Start your own repository).

  2. Import it on Vercel

    In Vercel, click Add New → Project, pick the repository and keep the detected settings. Vercel uses pnpm because of the lockfile.

  3. Add environment variables and deploy

    Add any variables you use (for example your analytics key) under Settings → Environment Variables, then deploy. Every push to your main branch deploys again.

Prefer the terminal? The Vercel CLI does the same:

bash
Loading...

Other hosts

Netlify and most platforms support Next.js directly. On your own server, build and start it with Node:

bash
Loading...

SPA routing (React, Vue.js)

React and Vue.js versions are single-page apps: every URL must serve index.html so the router can take over. Without this, refreshing a page like /orders returns a 404. The projects already include a vercel.json for Vercel. On other hosts add the equivalent:

public/_redirects (Netlify, Cloudflare Pages)
Loading...
nginx
Loading...

SvelteKit adapters

Svelte templates use @sveltejs/adapter-auto, which detects Vercel, Netlify and Cloudflare during the build. For a plain Node server, switch to the Node adapter:

bash
Loading...
svelte.config.js
Loading...

Then run pnpm build and start the server with node build.

Launch checklist

  1. pnpm build passes locally without type errors.
  2. Template name, logo, favicon and social image are replaced with yours.
  3. Demo-only toasts and links back to shadcnadmin.com are removed.
  4. Environment variables are set on the host for production.
  5. Sample data is replaced, or clearly marked if you ship a demo.
Deploy a preview first and click through every page in light and dark mode before pointing your domain at it.