nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
Upgrading nuxt From 1.4.5 to 2.0.0
1 release in betweenevery note read
- 11
- changes to make
- 0
- advisories fixed
- 30
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Deprecated2.0.0
- Deprecated2.0.0
- Deprecated2.0.0
Security
3 advisories still affect 2.0.0
- Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabledlow · GHSA-jjm6-p2m9-9w4x
- Cross-site scripting via <NoScript> slot content in Nuxt's head componentslow · GHSA-m3q2-p4fw-w38m
- nuxt vulnerable to Cross-site Scripting in navigateTo if used after SSRmoderate · GHSA-vf6r-87q4-2vjf
Upgrading to 4.6.0 clears them.
Release by release
- Breaking
We now use Webpack 4. We announced 2.x and started publishing latest changes as
nuxt-edgepackage at March. But we wanted to make sure that most of the plugins were updated and stable before releasing a stable version of Nuxt.js - Breaking
Due to server/client artifact isolation (PR #3758), external
build.publicPathneed to upload built content to.nuxt/dist/clientdirectory instead.nuxt/dist. - Breaking
ESM is supported everywhere you can now use
export/importsyntax innuxt.config.js,serverMiddlewareandmodules. - Breaking
Upgraded to use Babel 7 (PR #3667)
- Breaking
14 other lines we could not sort, mostly version bumps
- 2.0.0
Carefully read release notes
- 2.0.0
If you are using a VCS for your project commit and push latest changes and then checkout into a new branch
- 2.0.0
Delete all directories
.nuxt,node_modules,yarn.lockandpackage.lock.json - 2.0.0
Upgrade
nuxt.config.js,modulesandserverMiddlewareto useimport/exportinstead ofrequire - 2.0.0
Do
npm installoryarn install - 2.0.0
Use
npm outdatedoryarn outdatedand manually update any other dependency with care - 2.0.0
If you have a CDN deployment system, please make sure you have updated CI/CD configurations to publish
.nuxt/dist/clientinstead of.nuxt/dist - 2.0.0
If you are using
build.extend, make sure your changes are compatible with Webpack 4. - 2.0.0
ESLint: Consistent parens in arrow functions (PR #3630)
- 2.0.0
ESLint: Require await in async function (PR #3676)
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.