Skip to content

Commit 116bd29

Browse files
committed
refactor(playground): move nuxtify to app config
1 parent 58bae4b commit 116bd29

2 files changed

Lines changed: 26 additions & 24 deletions

File tree

playground/app.config.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
export default defineAppConfig({
2+
nuxtify: {
3+
// Brand
4+
brand: {
5+
tagline: 'Catchy tagline',
6+
},
7+
8+
// Announcement
9+
announcement: {
10+
show: true,
11+
message: 'This is a site wide announcement!',
12+
buttonText: 'Click me',
13+
buttonUrl: 'https://nuxtify.dev/',
14+
},
15+
16+
// Credits
17+
credits: {
18+
creator: {
19+
name: 'Nuxtify',
20+
domain: 'nuxtify.dev',
21+
},
22+
prependText: 'Made with love by',
23+
appendText: ' Ship weirdly fast.',
24+
},
25+
},
26+
})

playground/nuxt.config.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,6 @@ export default defineNuxtConfig({
33
devtools: { enabled: true },
44
compatibilityDate: '2026-01-15',
55
nuxtifyCore: {
6-
// Logs
76
verboseLogs: true,
8-
9-
// Brand
10-
brand: {
11-
tagline: 'Catchy tagline',
12-
},
13-
14-
// Announcement
15-
announcement: {
16-
show: true,
17-
message: 'This is the announcement bar for the @nuxtify/core playground!',
18-
buttonText: 'Click me',
19-
buttonUrl: 'https://nuxtify.dev/',
20-
},
21-
22-
// Credits
23-
credits: {
24-
creator: {
25-
name: 'Nuxtify',
26-
domain: 'nuxtify.dev',
27-
},
28-
prependText: 'Made with love by',
29-
appendText: ' Ship weirdly fast.',
30-
},
317
},
328
})

0 commit comments

Comments
 (0)