Getting started
Starter kit
Generate a clean project with the app shell and the component library, but none of the demos.
The full template is a showroom. When you start a real product you usually want the shell, the theme and the components without forty demo pages. The starter generator gives you exactly that.
$npm run starter -- ../my-product$cd ../my-product$cp env/.env.example env/.env$npm install$npm run dev
The target folder must be empty or not exist yet.
What the starter keeps
The app shell
Sidebar, navbar, horizontal menu, command palette, customizer, toasts and breadcrumbs.
Every Base component
All the primitives in components/ui and the App pieces in components/layout.
Authentication
The login, register and forgot password pages with the auth layout and the demo session.
Theme and appearance
Colours, typography, shadows, dark mode, primary presets and right-to-left support.
Translations
English and Spanish for the shell, navigation, auth, dashboard and forms.
Tooling
ESLint, Prettier, Vitest, Playwright and the icon sync script.
What it removes
- Every demo page except the auth pages, replaced by a single empty dashboard page.
- The demo apps (email, chat, calendar, kanban, tasks, files) and their composables, mocks, types and tests.
- The business modules (orders, products, customers, invoices, learning, account, help center).
- The landing pages, their content and images, and the
landing-pagelayout. - The demo-only translation files (
landing,ui,apps,admin,account,help). - This documentation (
docs-site/), the screenshot script and the starter generator itself.
What it rewrites
The generator replaces a few files with neutral versions stored in scripts/starter/ as .tpl files:
File | Change |
|---|---|
composables/useNavigation.ts | A menu with a single Dashboard entry. |
config/auth.config.ts | Auth settings without the demo company names. |
config/sidebar-links.config.ts | No sidebar footer links. |
pages/index.vue and pages/dashboard/index.vue | A redirect and an empty dashboard to start from. |
locales/*/dashboard.json | Only the strings the empty dashboard needs. |
README.md | A short README for your product. |
components/layout/AppCommandPalette.vue | No create actions: the list is empty until you add your own modules. |
Adding demos to the template
If you extend the template itself with a new demo page, app, mock or locale file, add its path to
REMOVE in scripts/create-starter.mjs and generate a starter to check that it still passes lint, typecheck and test:e2e.