Packages

@nuxt/core

2.18.1 · 28 Jun 2024MIT164.6k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Nuxt 2 has reached EOL and is no longer actively maintained. See https://nuxt.com/blog/nuxt2-eol for more details.What to use instead

Upgrading @nuxt/core From 2.5.1 to 2.6.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.5.1Newest 2.x, Latest2.18.1
  1. 2.5.1yours
  2. 2.6.0target
1
change to make
0
advisories fixed
5
new
4
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated2.6.0

Release by release

  1. 2.6.0

    Deprecation4 Apr 20195 new · 4 fixes
    • Deprecated

      postcss: Deprecate config support

    • New

      yarn: yarn add nuxt ts-node

    • New

      npm: npm i nuxt ts-node

    • New

      yarn: yarn add -D @nuxt/typescript

5 other lines we could not sort, mostly version bumps
  • Using yarn as the package manager is more preferred as Nuxt is internally being tested against yarn

    2.6.0
  • Before upgrade ensure to remove yarn.lock, package-lock.json and node_modules

    2.6.0
  • After full install and testing, also consider upgrading other dependencies. The yarn outdated command can be used.

    2.6.0
  • Remove nuxt-ts dependency (2.4 users only)

    2.6.0
  • Create an empty tsconfig.json file. Nuxt will automatically generate it with defaults at first run, then you can edit it to fit your needs

    2.6.0

2 internal lines (docs, tests, tooling) left out.

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.