Features
- You can now access the application path with
˜
, useful if you have others folders, see #16 - Add
env
property innuxt.config.js
, you can now define environment variables that will be shared across the components (client and server side), see #16 window.onNuxtReady(callback)
is now a function, useful for attaching multiple functions to it, when is the app will be mounted, the callback will be called with the root application in the first argument
window.onNuxtReady(function (app) {
// app is the $root vm
})
It is useful for test purposes or when defining plugins to launch when the app is mounted.