@battlestack/preset-nuxt4

Public Battlestack preset: Nuxt 4 framework + open-source features. (Versioned for Nuxt-major coexistence — a future preset-nuxt5 registers alongside.)
986 3
Install
npm install @battlestack/preset-nuxt4
Latest Version:1.4.0
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: joris-sevenlab

@battlestack/preset-nuxt4

The public preset for battlestack: the Nuxt 4 framework definition, its three templates, and the open-source features they compose from.

Install battlestack to use it — it depends on this package already. Depend on this one directly only if you are writing a plugin that extends these templates.

npm install @battlestack/preset-nuxt4

What's in here

Template Gets you
nuxt4-minimal Nuxt 4 + UI v4 + Tailwind v4 only. No backend, no auth.
nuxt4-fullstack Nuxt + UI + i18n + Postgres + Drizzle + custom auth + Mastra + Docker.
nuxt4-ai Full stack + Mastra agents + WebSocket streaming chat via an OpenAI-compatible AI gateway (sluis.ai preset, 50k free tokens) + Docker. RAG opt-in.

Plus the optional features those templates offer — storage, PWA, CI workflows, passkeys, and more.

The package ships its templates/ payload alongside the compiled output, so the file content that lands in a scaffolded project comes from the installed package rather than being fetched at scaffold time.

Why the version is in the name

Nuxt-major coexistence. A future @battlestack/preset-nuxt5 registers alongside this one rather than replacing it, so a single CLI install can scaffold either.

License

MIT © SevenLab

Related Packages

battlestack

Battlestack — plugin-based scaffolding CLI for Nuxt 4. This unscoped package is...

938 3
@battlestack/cli

Battlestack CLI engine — open-source scaffolding tool. Loads extra capabilities...

918 3
@battlestack/theme

Battlestack Design System Nuxt — the Nuxt UI theme: token values for light and d...

254 3
create-nuxt-starter-kit

Create a new Nuxt Starter Kit project

4,506
@friendlyinternet/nuxt-crouton

Base CRUD layer for FYIT scaffolded collections

2,816 10

Version History

Version Released License
1.4.0 MIT
1.3.0 MIT
1.2.0 MIT
1.1.0 MIT
1.0.0 MIT