A modern starter template for building web applications with Nuxt 4.
- Nuxt 4 - Vue.js framework with TypeScript
- Nuxt UI v4 - Beautiful, accessible components with dark mode
- oxlint + oxfmt - Fast Rust-based linting and formatting
- Vitest - Unit testing with Nuxt test utils
- pnpm - Fast, disk space efficient package manager
- Dark mode support with toggle
- Nuxt UI components pre-configured
- Simple placeholder pages (Home, Settings)
- TypeScript configured and ready
- oxlint + oxfmt for fast linting and formatting
- Pre-commit hooks via simple-git-hooks + lint-staged
- Vitest sanity test to verify setup
Install dependencies with pnpm:
pnpm installStart the development server on http://localhost:3000:
pnpm devGenerate a production build:
pnpm buildPreview the production build:
pnpm previewGenerate a static site:
pnpm generatenuxt-starter/
├── app/
│ ├── assets/css/ # Global styles
│ ├── layouts/ # Layout components
│ ├── pages/ # Route pages (index, settings)
│ └── app.vue # Root component
├── tests/ # Vitest tests
├── public/ # Static assets
├── nuxt.config.ts # Nuxt configuration
└── vitest.config.ts # Vitest configuration
pnpm dev- Start development serverpnpm build- Build for productionpnpm generate- Generate static sitepnpm preview- Preview production buildpnpm lint- Lint with oxlintpnpm lint:fix- Lint and auto-fixpnpm format- Format with oxfmtpnpm format:check- Check formattingpnpm test- Run testspnpm test:watch- Run tests in watch mode
- Node.js 18+
- pnpm 10+
This template works well with Claude Code. For Nuxt-specific skills (components, routing, composables), use the Nuxt skills in your Claude project.