npm @nuxt/kit 0.6.0
v0.6.0

latest releases: 3.11.2, 3.11.1, 3.11.0...
2 years ago

New features:

  • We can now extend the root application by adding pages/_app.vue. You can now add a navigation bar which stays whatever the page you're on (error pages included), see an examples/extend-app/ for more details and documentation (you can also watch the short video example)
  • Add context.isDev in the data(context) and fetch(context) methods, can be useful for caching some data calls on production
  • Add callback argument (optional), in data(context [, callback]) method, because not everyone may be comfortable with using Promises. The callback is the node.js style: callback(err, data), see examples/async-data/ for more details.

Fix

  • Bug with path with ~ inside (example: ~plugins/my-plugin.js)

Documentation

Don't miss a new kit release

NewReleases is sending notifications on new releases.