@nuxt/types
2.18.1 · 28 Jun 2024MIT154.3k / weekRepositoryHomepagenpmAtom feed
0.7.9 is the newest release of 0.6.x.
In short
3 new1 fixed3 internal
Release note
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.isDevin the data(context) and fetch(context) methods, can be useful for caching some data calls on productionAdd
callbackargument (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)
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.