Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Keep Nuxt's 'asyncData' and 'fetch' with 'data' (#823)
* chore: Keep Nuxt's 'asyncData' and 'fetch' with 'data' Change the order of asyncData and fetch properties to be next to data property. All those are function-wise more or less equivalent so IMO it makes sense to keep them together. asyncData and fetch are primarily for setting up component's data. * Update order per review * Add also 'head' property * Change order of 'head'
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters