File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ export default defineNuxtConfig({
2
2
modules : [ '../src/module' ] ,
3
3
devtools : { enabled : true } ,
4
4
compatibilityDate : '2025-05-13' ,
5
- nuxtifyCore : {
5
+ nuxtifyPages : {
6
+ // Brand
6
7
brand : {
7
8
tagline : 'This is a sample tagline for the pages module.' ,
8
9
} ,
9
- } ,
10
- nuxtifyPages : {
10
+
11
+ // Navigation
11
12
navigation : {
12
13
primary : [
13
14
{ text : 'Home' , to : '/' } ,
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ export default defineNuxtModule<ModuleOptions>({
24
24
} ,
25
25
} ,
26
26
defaults : {
27
+ // Brand
28
+ brand : {
29
+ name : '@nuxtify/pages' ,
30
+ } ,
31
+
27
32
// Navigation
28
33
navigation : {
29
34
primary : [ ] ,
@@ -60,18 +65,14 @@ export default defineNuxtModule<ModuleOptions>({
60
65
async setup ( _options , _nuxt ) {
61
66
const resolver = createResolver ( import . meta. url )
62
67
63
- // Modules
64
- await installModule ( '@nuxtify/core' , {
65
- brand : {
66
- name : '@nuxtify/pages' ,
67
- } ,
68
- } )
69
-
70
68
// Expose module options to app config
71
69
_nuxt . options . appConfig . nuxtify = defu ( _nuxt . options . appConfig . nuxtify , {
72
70
..._options ,
73
71
} )
74
72
73
+ // Modules
74
+ await installModule ( '@nuxtify/core' )
75
+
75
76
// Layouts
76
77
addLayout ( {
77
78
src : resolver . resolve ( './runtime/layouts/DefaultLayout.vue' ) ,
You can’t perform that action at this time.
0 commit comments