Packages

@nuxt/server

2.18.1 · 28 Jun 2024MIT163.2k / 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
Your version

2.7.0

14 May 2019Where it was published

2.18.1 is the newest release of 2.x.

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

1 deprecated2 new3 fixed4 internal

  • Deprecated

    vue-app: rename transition to pageTransition and deprecate it

Release note

The section about @nuxt/server of a note shared by several packages.

DX Improvements

SSR logs in your browser

We all know the console.log debugging method, but when working with universal applications, you have to remember that sometimes, your logs are in your terminal and not in your browser console.

This can be really annoying when developing a Nuxt.js application, starting with this version and running nuxt dev, the ssr logs are now reported to your browser console:

nuxt-logs-ssr

Detecting store/ creation

Nuxt.js now detects when you created a store/ directory and will reload himself auto-magically so you don't have to restart it anymore.

nuxt-store-watch

PS: We also improved the serverMiddleware watch to restart Nuxt.js and clean their cache

Features

  • Deprecated

    vue-app: rename transition to pageTransition and deprecate it

  • Configurable aliases

Typescript

Only for typescript users, Nuxt.js v2.7 dropped support for node < 8.6 relate to ts-loader v6

  • Add babel config types

  • Fix context.app type

  • Fix extendRoutes method type

  • Prevent ts-node to register twice

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.