@nuxt/types
2.18.1 · 28 Jun 2024MIT154.3k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxt/types From 0.5.9 to 0.6.0
1 release in betweenevery note read
Release by release
- New
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) - New
Add
context.isDevin the data(context) and fetch(context) methods, can be useful for caching some data calls on production - New
Add
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. - Fixed
Bug with path with ~ inside (example: ~plugins/my-plugin.js)
- New
3 internal lines (docs, tests, tooling) left out.
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.