nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
0.10.7 is the newest release of 0.9.x.
In short
2 breaking4 new1 fixed6 internal
- Breaking
The
<nuxt-container>component does not exist anymore (you can simply use a<div>to wrap your layout template) - Breaking
The default application layout is
layouts/default.vueinstead oflayouts/app.vue
Security
3 advisories affect 0.9.3; 4.6.0 fixes them
- Moderatenuxt vulnerable to Cross-site Scripting in navigateTo if used after SSRGHSA-vf6r-87q4-2vjf · 5 Aug 2024Fixed in 3.12.4
- LowNuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabledGHSA-jjm6-p2m9-9w4x · 22 Oct 2026Fixed in 4.6.0
- LowCross-site scripting via <NoScript> slot content in Nuxt's head componentsGHSA-m3q2-p4fw-w38m · 16 Jun 2026Fixed in 3.21.7
Release note
🎄 Merry Christmas! 🎄
Custom Layouts
This release should be the last one with breaking a change
Nuxt.js let you now define custom layout for specific page now, to see it in action, please take a look at the our demonstration video.
The main breaking changes are
- Breaking
The
<nuxt-container>component does not exist anymore (you can simply use a<div>to wrap your layout template) - Breaking
The default application layout is
layouts/default.vueinstead oflayouts/app.vue
Features
The layout is loaded only when used (webpack code-splitting)
You can overwrite the custom layout in
layouts/default.vueYou can set the which layout to use in the page component with the
layoutpropertyDefine custom head elements depending of the layout
The default layout of Nuxt.js is:
<template> <nuxt/> </template>
Please take a look at the updated documentation.
Bug fixes
Routes generations with complex pages files tree (see the test/fixtures/dynamic-routes/)
Tests
More tests has been added to cover the bug fixes and also the layout feature.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.