Isolated learning atmosphere · v4.x
Learning Nuxt 4.7
Based on the official Nuxt release notesNuxt 4.6 built the runway. Nuxt 4.7 lets you taxi down it. The headline is not a version number — it is that you can build your Nuxt 4 app with Nitro v3, the server engine Nuxt 5 is built on, by adding one dependency.
Same approach as the earlier series: I use Nuxt every day, but 4.7 shipped things I had not put my hands on. Let's fix that together.
Nitro v3 is a release candidate and highly experimental under Nuxt 4.7. Try it on a branch, not in production. The point is to find the code that depends on Nitro v2 before Nuxt 5 finds it for you.
How this series works#
Each step takes one feature through the same path: What's new → Why you'd care → Before → After → Do it yourself → Gotchas → Recap.
Mark steps complete as you go — progress is saved in your browser. Start with step one.
The steps#
- Nitro v3 under Nuxt 4.7 — opt in, read
nitroLegacy, fix route rules and imports, and turn the layer off. - WebMCP — register tools from templates, submit real forms, and show the agent's activity.
- One problems drawer — type errors, ESLint, Vue compiler warnings, and template diagnostics in one place.
- Server-side error boundaries —
ssrErrorBoundary,retry-on-client, andclearBoundaryError. - Validated runtime config — Standard Schema, environment coercion, and a boot that fails early.
staticRoutesand the client diet — the free throughput win, the lighter bundle, and the build loop.- Module authors + upgrade lab — renderer plugins,
defineHandler, Rsbuild, build hooks, and the security checklist.
If you want the server engine without Nuxt in the room, the companion series is Nitro v3 in Practice: Build Ampyard — a nine-stage EV charging depot with real KV, D1, cron, SSE, WebSockets, and OpenAPI.
Steps
- 1
Nitro v3 under Nuxt 4.7: The One-Line Opt-In
Nitro v3 opt-in
- 2
WebMCP: Give the Browser Agent Real Buttons
WebMCP
- 3
One Problems Drawer: Types, Lint, and Template Diagnostics
my-bad + template diagnostics
- 4
Server-Side Error Boundaries That Actually Hold
ssrErrorBoundary
- 5
Validated Runtime Config: Fail at Boot, Not in Checkout
Standard Schema runtime config
- 6
staticRoutes and the Client Diet: Free Performance You Can Turn On
staticRoutes + client diet
- 7
Module Authors + Upgrade Lab: Renderer Plugins, Rsbuild, and a Safe 4.7
Renderer plugins + upgrade