File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const defaultOrder = [
13
13
14
14
// Global Awareness (requires knowledge beyond the component)
15
15
'name' ,
16
+ 'key' , // for Nuxt
16
17
'parent' ,
17
18
18
19
// Component Type (changes the type of the component)
@@ -29,6 +30,10 @@ const defaultOrder = [
29
30
'mixins' ,
30
31
[ 'provide' , 'inject' ] , // for Vue.js 2.2.0+
31
32
33
+ // Page Validation (determines if the router request is suitable)
34
+ 'middleware' , // for Nuxt
35
+ 'validate' , // for Nuxt
36
+
32
37
// Interface (the interface to the component)
33
38
'inheritAttrs' ,
34
39
'model' ,
@@ -49,15 +54,20 @@ const defaultOrder = [
49
54
50
55
// Events (callbacks triggered by reactive events)
51
56
'watch' ,
57
+ 'watchQuery' , // for Nuxt
52
58
'LIFECYCLE_HOOKS' ,
53
59
54
60
// Non-Reactive Properties (instance properties independent of the reactivity system)
55
61
'methods' ,
56
62
57
63
// Rendering (the declarative description of the component output)
58
64
'head' , // for Nuxt
65
+ 'layout' , // for Nuxt
59
66
[ 'template' , 'render' ] ,
60
- 'renderError'
67
+ 'renderError' ,
68
+ 'transition' , // for Nuxt
69
+ 'loading' , // for Nuxt
70
+ 'scrollToTop' // for Nuxt
61
71
]
62
72
63
73
const groups = {
You can’t perform that action at this time.
0 commit comments