Skip to content

Commit 2ddf280

Browse files
fix: update @nuxt/content to version 3.1.1 and clean up nuxt.config.ts
1 parent ea4fa40 commit 2ddf280

File tree

3 files changed

+386
-260
lines changed

3 files changed

+386
-260
lines changed

nuxt.config.ts

Lines changed: 59 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,79 @@
22

33
export default defineNuxtConfig({
44
devtools: {
5-
enabled: true,
6-
timeline: {
7-
enabled: true
8-
}
5+
enabled: true,
6+
timeline: {
7+
enabled: true
8+
}
99
},
1010
routeRules: {
11-
'/': {prerender: true},
11+
'/': { prerender: true },
1212
},
1313

1414
app: {
15-
pageTransition: {name: 'page', mode: 'out-in'},
16-
layoutTransition: { name: 'page', mode: 'out-in' },
17-
head: {
18-
title: 'Dein Büro für Entwicklung und Design – JOTT.MEDIA',
19-
meta: [
20-
{charset: 'utf-8'},
21-
{name: 'viewport', content: 'width=device-width, initial-scale=1'},
22-
{
23-
name: 'description',
24-
content: 'Wir unterstützen dich und dein Unternehmen eigene Prozesse digital zu vereinfachen, um mehr Zeit, mehr Zufriedenheit und mehr Qualität zu gewinnen und erfoglreich zu wachsen.'
25-
},
26-
{name: 'format-detection', content: 'telephone=no'},
27-
{name: 'msapplication-TileColor', content: '#ffffff'},
28-
{name: 'theme-color', content: '#ffffff'},
29-
],
30-
link: [
31-
{rel: 'icon', type: 'image/x-icon', href: '/favicon.ico'},
32-
{
33-
rel: 'apple-touch-icon',
34-
sizes: '180x180',
35-
href: '/apple-touch-icon.png',
36-
},
37-
{
38-
rel: 'icon',
39-
type: 'image/png',
40-
sizes: '32x32',
41-
href: '/favicon-32x32.png',
42-
},
43-
{
44-
rel: 'icon',
45-
type: 'image/png',
46-
sizes: '16x16',
47-
href: '/favicon-16x16.png',
48-
},
49-
{rel: 'manifest', href: '/site.webmanifest'},
50-
{rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5'},
51-
]
52-
},
15+
pageTransition: { name: 'page', mode: 'out-in' },
16+
layoutTransition: { name: 'page', mode: 'out-in' },
17+
head: {
18+
title: 'Dein Büro für Entwicklung und Design – JOTT.MEDIA',
19+
meta: [
20+
{ charset: 'utf-8' },
21+
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
22+
{
23+
name: 'description',
24+
content: 'Wir unterstützen dich und dein Unternehmen eigene Prozesse digital zu vereinfachen, um mehr Zeit, mehr Zufriedenheit und mehr Qualität zu gewinnen und erfoglreich zu wachsen.'
25+
},
26+
{ name: 'format-detection', content: 'telephone=no' },
27+
{ name: 'msapplication-TileColor', content: '#ffffff' },
28+
{ name: 'theme-color', content: '#ffffff' },
29+
],
30+
link: [
31+
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
32+
{
33+
rel: 'apple-touch-icon',
34+
sizes: '180x180',
35+
href: '/apple-touch-icon.png',
36+
},
37+
{
38+
rel: 'icon',
39+
type: 'image/png',
40+
sizes: '32x32',
41+
href: '/favicon-32x32.png',
42+
},
43+
{
44+
rel: 'icon',
45+
type: 'image/png',
46+
sizes: '16x16',
47+
href: '/favicon-16x16.png',
48+
},
49+
{ rel: 'manifest', href: '/site.webmanifest' },
50+
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5' },
51+
]
52+
},
5353
},
5454

5555
extends: ['@nuxt/ui-pro'],
5656

5757
modules: [
58-
'@nuxt/content',
59-
'@nuxt/ui',
60-
'@vueuse/nuxt',
61-
'@nuxt/image',
62-
'@nuxthq/studio'
58+
'@nuxt/content',
59+
'@nuxt/ui',
60+
'@vueuse/nuxt',
61+
'@nuxt/image',
6362
],
6463
pages: true,
6564
colorMode: {
66-
preference: 'light'
65+
preference: 'light'
66+
},
67+
uiPro: { routerOptions: false },
68+
content: {
69+
preview: {
70+
api: 'https://api.nuxt.studio',
71+
gitInfo: {
72+
name: 'jottmedia.github.io',
73+
owner: 'JOTTMEDIA',
74+
url: 'https://github.com/JOTTMEDIA/jottmedia.github.io'
75+
}
76+
}
6777
},
68-
uiPro: { routerOptions: false },
6978

7079
compatibilityDate: '2025-01-13'
7180
})

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@
1313
"devDependencies": {
1414
"@nuxt/devtools": "2.1.0",
1515
"@nuxt/ui": "^2.21.0",
16-
"@nuxthq/studio": "^2.2.1",
1716
"nuxt": "^3.15.4",
1817
"sass": "^1.85.0"
1918
},
2019
"dependencies": {
2120
"@iconify-json/mdi": "^1.2.3",
22-
"@nuxt/content": "^2.13.4",
21+
"@nuxt/content": "^3.1.1",
2322
"@nuxt/image": "^1.9.0",
2423
"@nuxt/ui-pro": "^1.7.0",
2524
"@tailwindcss/forms": "^0.5.10",

0 commit comments

Comments
 (0)