File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -69,41 +69,41 @@ module.exports = function nuxt7 (moduleOptions) {
69
69
delete options . mdIcons
70
70
71
71
// Nuxt component
72
- this . addPlugin ( {
72
+ this . addTemplate ( {
73
73
src : resolvePath ( 'templates/nuxt.vue' ) ,
74
74
fileName : 'components/nuxt.vue' ,
75
75
options
76
76
} )
77
77
78
78
// Default layout
79
- this . addPlugin ( {
79
+ this . addTemplate ( {
80
80
src : resolvePath ( 'templates/default.vue' ) ,
81
81
fileName : 'layouts/default.vue' ,
82
82
options
83
83
} )
84
84
85
85
// Vue router
86
- this . addPlugin ( {
86
+ this . addTemplate ( {
87
87
src : resolvePath ( 'templates/router.js' ) ,
88
88
fileName : 'router.js' ,
89
89
options
90
90
} )
91
91
92
- // Framework7 plugin
93
- this . addPlugin ( {
94
- src : resolvePath ( 'templates/plugin.js' ) ,
95
- fileName : 'f7.js' ,
96
- options
97
- } )
98
-
99
92
// Framework7 routes
100
- this . addPlugin ( {
93
+ this . addTemplate ( {
101
94
src : resolvePath ( 'templates/routes.js' ) ,
102
95
fileName : 'f7-routes.js' ,
103
96
options : cloneOptions ( options )
104
97
} )
105
98
delete options . routes
106
99
100
+ // Framework7 plugin
101
+ this . addPlugin ( {
102
+ src : resolvePath ( 'templates/plugin.js' ) ,
103
+ fileName : 'f7.js' ,
104
+ options
105
+ } )
106
+
107
107
// Enable IOS specific meta for web app
108
108
if ( ! this . options . meta ) this . options . meta = { }
109
109
this . options . meta . mobileAppIOS = true
You can’t perform that action at this time.
0 commit comments