Packages

nuxt

4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed

The latest release, 4.6.4, is affected by 4 advisories with no fixed version yet.See advisories

Upgrading nuxt From 1.4.5 to 2.0.0

1 release in betweenevery note read

Other targets from 1.4.5Clears its 3 advisories4.6.0Latest4.6.4
  1. 1.4.5yours
  2. 2.0.0target

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

Release by release

  1. 2.0.0

    Migration needed21 Sep 201830 new · 4 fixes
    • Breaking

      We now use Webpack 4. We announced 2.x and started publishing latest changes as nuxt-edge package 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.publicPath need to upload built content to .nuxt/dist/client directory instead .nuxt/dist.

    • Breaking

      ESM is supported everywhere you can now use export/import syntax in nuxt.config.js, serverMiddleware and modules.

    • Breaking

      Upgraded to use Babel 7 (PR #3667)

14 other lines we could not sort, mostly version bumps
  • 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.lock and package.lock.json

    2.0.0
  • Upgrade nuxt.config.js, modules and serverMiddleware to use import/export instead of require

    2.0.0
  • Do npm install or yarn install

    2.0.0
  • Use npm outdated or yarn outdated and 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)

    2.0.0

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.