Features
- Introduction of
injectAs
property for the plugin. It let you inject your plugin in the root application and also in the context, see i18n example which now use vue-i18n. Also checkout the documentation about it. - Nuxt.js is now compatible with vue-class-component, see example.
- Offline usage (one step forward to PWA!) is now possible via an
offline
option in thenuxt.config.js
(thanks to @rohitpal99 via #372), it's actually a WIP, you can look at the offline example to learn more about it.
Improvements
- You now have access to
this
in thedata
hook 🔥 - Give
nuxt
instance as context (this
) tobuild.extend
method (@any35 via #488) - Add
store
parameter in validate method (@agoalofalife via #507) - Add
babel-preset-es2015
in dependencies to avoid error with some external libraries