Skip to content

Commit 5d1f051

Browse files
TheAlexLichtermichalsnik
authored andcommitted
chore: add nuxt component functions to order rule (#786)
1 parent a8b2ca0 commit 5d1f051

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rules/order-in-components.js

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ const defaultOrder = [
2222
'data',
2323
'computed',
2424
'watch',
25+
'asyncData',
26+
'fetch',
2527
'LIFECYCLE_HOOKS',
2628
'methods',
2729
['template', 'render'],

0 commit comments

Comments
 (0)