Nuxt 4 — the Vue-powered full-stack framework — has been announced with significant architectural improvements aimed at improving developer experience and build performance.
Nuxt 4 consolidates the application code under a single app/ directory, separating it clearly from server-side code:
nuxt-app/
├── app/
│ ├── components/
│ ├── composables/
│ ├── layouts/
│ ├── pages/
│ └── app.vue
├── server/
│ ├── api/
│ └── middleware/
└── nuxt.config.ts
Nuxt 4 ships with Nitro 3 as its server engine, bringing faster cold starts, better edge runtime support (Cloudflare Workers, Deno Deploy), and a new SQL database layer via useDatabase().
The useFetch and useAsyncData composables have been refined with better deduplication and a new getCachedData option for client-side caching strategies.
All Comments