@brokuka/nuxt-starter
nuxt-starter
CLI for quickly scaffolding a Nuxt 3 or Nuxt 4 project with ESLint support out of the box 🚀
All templates live in the nuxt-templates repository, split by branch.
Usage
npx @brokuka/nuxt-starter
The CLI walks you through a few prompts and scaffolds the project for you:
- Package manager —
npm,yarn,pnpmorbun, preselected from the one you launched the CLI with - Folder name — where to create the project (press ENTER to use the current folder)
- Nuxt version —
v4(default) orv3 - CSS style — Vanilla (default), UnoCSS or Tailwind CSS
- Template — pick a base template, including
shadcn/uivariants where available - TypeScript — add TypeScript support
- Git — initialize a git repository
Prompts with a single answer are skipped, so you are only asked about styles and templates that exist for the Nuxt version you picked.
Dependencies are written to package.json with resolved versions and installed in one pass. On pnpm, the scaffold also gets a pnpm-workspace.yaml that hoists dependencies and approves the native builds Nuxt needs, and nuxt.config.ts gets a compatibilityDate plus pre-bundled devtools deps.
[!NOTE] The folder prompt supports the system
~/home-directory alias.
Templates
| Branch | Description |
|---|---|
v3 |
Nuxt 3 (Vanilla) |
v3-unocss |
Nuxt 3 + UnoCSS |
v3-unocss-shadcn |
Nuxt 3 + UnoCSS + shadcn/ui |
v3-tailwind |
Nuxt 3 + Tailwind CSS |
v3-tailwind-shadcn |
Nuxt 3 + Tailwind CSS + shadcn/ui |
v4 |
Nuxt 4 |
Every template ships with a preconfigured @antfu/eslint-config + @nuxt/eslint setup.
Related Packages
Battlestack — plugin-based scaffolding CLI for Nuxt 4. This unscoped package is...
Battlestack CLI engine — open-source scaffolding tool. Loads extra capabilities...
Version History
| Version | Released | License |
|---|---|---|
| 1.3.2 | MIT | |
| 1.2.1 | ||
| 1.2.0 | ||
| 1.1.13 | ||
| 1.1.12 | ||
| 1.1.11 | ||
| 1.1.10 | ||
| 1.1.9 | ||
| 1.1.8 | ||
| 1.1.7 | ||
| 1.1.6 | ||
| 1.1.5 | ||
| 1.1.4 | ||
| 1.1.3 | ||
| 1.1.2 | ||
| 1.1.1 | ||
| 1.1.0 | ||
| 1.0.28 | ||
| 1.0.27 | ||
| 1.0.26 | ||
| 1.0.25 | ||
| 1.0.23 | ||
| 1.0.22 | ||
| 1.0.21 | ||
| 1.0.20 | ||
| 1.0.19 | ||
| 1.0.18 | ||
| 1.0.17 | ||
| 1.0.16 | ||
| 1.0.15 |
Showing the latest 30 of 39. See every release on npm
Pre-releases (6)
| Version | Released | License |
|---|---|---|
| 1.0.25-beta.6 | ||
| 1.0.25-beta.5 | ||
| 1.0.25-beta.4 | ||
| 1.0.25-beta.3 | ||
| 1.0.25-beta.2 | ||
| 1.0.25-beta.1 |