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), indata(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
- Add Handling errors section in examples/async-data/ and also explain how to use data with a
callback
. - Add README in examples/head-elements/, feel free to take a look at it to see how to update your app headers with Nuxt.js.
- Add examples/extend-app/