nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
0.10.7 is the newest release of 0.8.x.
In short
2 breaking1 new1 internal
- Breaking
The layouts has been moved to the layouts/ directory for better architecting. Which have to move your
pages/_app.vuetolayouts/app.vueandpages/_error.vuetolayouts/error.vue - Breaking
When used programmatically, you now have to call
nuxt.build()becausenew Nuxt(options)is not launching anymore the build automatically.
Security
3 advisories affect 0.8.0; 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
Breaking Changes
- Breaking
The layouts has been moved to the layouts/ directory for better architecting. Which have to move your
pages/_app.vuetolayouts/app.vueandpages/_error.vuetolayouts/error.vue - Breaking
When used programmatically, you now have to call
nuxt.build()becausenew Nuxt(options)is not launching anymore the build automatically.
const Nuxt = require('Nuxt')
const nuxt = new Nuxt(options)
nuxt.build()
.then(() => {
app.use(nuxt.render)
})Features
Add
nuxt.renderAndGetWindow(jsdom, url)method to render the url and sent back thewindowobject, useful for test purposes (see examples/with-ava/)
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.