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.13.0

18 Jun 2020Where it was published

2.18.1 is the newest release of 2.x.

npm marks 2.13.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

29 new19 fixed1 changed15 internal

Security

Release note

What's new?

  • New target: static and full static using nuxt export

  • Built-in .env support and runtimeConfig

  • Auto components discovery with nuxt/components

  • Nuxt Telemetry

Also don't miss nuxt/content and nuxt-composition-api ;)

Features

  • general: createRequire option and disable esm for jest

  • general: Improve production debugging DX

  • general: Experimental nuxt telemetry

  • general: Builtin Components

  • general: Runtime config and built-in dotenv support (#7312, #7420, #7421)

  • general: Full static target (#6159, #7332, #7334, #7336, #7350, #7399, #7400, #7401, #7431, #7486, #7523, #7518)

  • cli: Improve banner DX (#7532, #7537)

  • generator: Allow excluding exported pages using export:page hook

  • generator: export:route hook and setPayload

  • webpack: Allow babel plugins to be defined by function

  • webpack: Add mjs to babel-loader

  • config: Support .nuxtrc

  • config: Improved runtimeConfig

  • config: Add configOverrides for loadNuxt and loadNuxtConfig

  • ssr: Add non async split chunk to preload scripts

  • server: Add new render:beforeResponse hook

  • server: Add unload method support for serverMiddleware

  • server: Support csp report-uri

  • server: Add custom HTTP headers into error response

  • modern: Remove inlined safari fix in csp mode

  • vue-app: Inject into plugins context in addition to app context

  • vue-renderer: Add head <base> meta for spa

  • vue-renderer: Pass renderContext to vue-renderer:ssr:templateParams hook

  • babel-preset-app: Add bugfixes option

  • builder: Ignore option to function the same as .nuxtignore

Bug Fixes

  • core: Improve module not found error

    • Join with os native sep in resolver

  • general: Use different port for loading-screen SSE

  • general: #7377, #7378 Set build indicator icon height for ie11

  • webpack: #7462, #7464 Reduce false negatives in nodeExternals

  • webpack: Allow HMR client path to be set

  • webpack: Use non-eval sourcemap with csp and unsafe-eval script policy

  • vue-app: #5703, #7442 Prevent double layout execution

  • vue-app: redirect no longer strips trailing slash from URL (#7475, #7533)

  • vue-app: Allow background customization for default loading template

  • vue-app: sanitizeComponent import regression with features disabled

  • vue-app: Sanitize layouts after resolve for splitChunks.layout

  • generator: Improve error handling when build does not exists

  • modern: Modulepreload not work in generate

  • modern: Wrong assets mapping in ssr client modern mode

  • vue-renderer: Fix meta injection when ssr renderer generates a spa page

  • vue-renderer: Base tag should be before any link or script tag

  • generator, builder: Empty build and dist directories instead of remove

  • babel: Not override presets if babelrc is true

  • server: HMR for sub-app serverMiddleware without path

Types

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.