Packages

nuxt

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

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

2.15.0

15 Feb 2021Where it was published

2.18.1 is the newest release of 2.x.

npm marks 2.15.0 as deprecated: Nuxt 2 has reached EOL and is no longer actively maintained. See nuxt.com/blog/nuxt2-eol for more details.

In short

2 breaking18 new23 fixed1 changed10 internal

  • Breaking

    Minimum supported Node.js version is 12.0.0 (See #8327 for why)

  • Breaking

    general: Update all dependencies that require node 10.x

Security

Release note

Highlights

⚠️This release introduces behavior changes. Update with caution ⚠️

  • Breaking

    Minimum supported Node.js version is 12.0.0 (See #8327 for why)

  • Using jiti as new require engine with typescript support

  • Plug and play works out of the box

  • Allow opting-in to use postcss@8 (See #8546)

    NOTE: postcss-preset-env is disabled in v8 config as it doesn't support postcss v8 for now, so please install all below dependencies explicitly.

    yarn add --dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1
    # or
    npm i --save-dev css-loader@^5.0.0 postcss@^8.1.10 postcss-import@^13.0.0 postcss-loader@^4.1.0 postcss-url@^10.1.1
  • Several encoding issues resolved by consistently using ufo

  • Components updated to v2 (please read migration guide)

  • When matching a webpack loader by name or query, should use includes instead of exact match (example)

Bug Fixes

  • general: Ignore trailing slash in static payloads manifest

  • general: Encoding issues with payload paths

  • general: trailingSlash and child routes not working

  • config: Prevent invalid css filenames in webpack output

  • utils: serializeFunction fails with certain functions

  • vue-app: Enable dynamic publicPath on server-side

  • vue-app: Static payload fetching bugfixes

  • vue-app: Check for Page.options before looking within

  • vue-app: Don't remove req, res and query from context unless in full static mode

  • vue-app: Ensure link.__prefetch exists before calling it

  • vue-app: Add missing id attribute to noopApp

  • vue-app: Scroll-to-top on route changes only

  • vue-app: Set push on router instance rather than prototype

  • vue-app: Do not preserve state when registering client-side dynamic module

  • vue-app: Add leading slash for payload hydration

  • server, vue-app: Address encoding issues with query params

  • dev: Clearnup vue installed plugins from server in dev mode

  • dev: Resolve module required by create-require in jiti

  • cli: Disable parallel build behaviour when generating

  • webpack: Can't resolve absolute url in css

  • server: Fix HMR issue with serverMiddleware when router.base is set

  • babel: Enable polyfilling of proposal core-js features

  • vue-app, vue-renderer, utils: Respect trailingSlash setting for payloads

  • generator: Ensure static manifest dir exists

  • generator: Normalize trailing slashes before extendRoutes

Features

  • cli: Warn if incompatible node and package versions detected

  • postcss: Support postcss v8 with explict postcss installation

  • config, vue-app, vue-renderer: Support dynamic base and publicPath

  • general: Support plug-and-play, typescript runtime and native modules

  • Breaking

    general: Update all dependencies that require node 10.x

  • vue-app: Support custom fetchKey for full static generation

  • vue-renderer: Allow adding async attribute to <script> tags

🇹 Types

  • Add missing ssr option to config types

  • vue.config types should be optional

  • Add missing redirect overload to Context interface

  • Add enablePreview to context

  • Add missing loadingScreen type definition

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.