@battlestack/preset-nuxt4
| Install | |
|---|---|
npm install @battlestack/preset-nuxt4 |
|
| Latest Version: | 1.4.0 |
| License: | MIT |
| Last Updated: | Oct 21, 2026 |
| Links: | GitHub · npm |
@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 — plugin-based scaffolding CLI for Nuxt 4. This unscoped package is...
Battlestack CLI engine — open-source scaffolding tool. Loads extra capabilities...
Battlestack Design System Nuxt — the Nuxt UI theme: token values for light and d...
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 | |
| 0.9.0 | MIT | |
| 0.1.0 | MIT |