Skip to content

Commit 28f9490

Browse files
committed
chore(nuxt): prepare for nuxt 4
1 parent 43ad5fe commit 28f9490

File tree

6 files changed

+26
-33
lines changed

6 files changed

+26
-33
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
/node_modules/
77
/env/nuxt/cert/
88
/output/
9-
/public/
109
/.reports/
1110
/w3c/
1211
/src/static/sitemap.xml

nuxt.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,10 @@ export default defineNuxtConfig({
134134
order: 'cssnanoLast'
135135
},
136136

137-
generate: {
137+
nitro: {
138+
prerender: {
138139
routes: ['/', '/de']
140+
}
139141
},
140142

141143
i18n: {

package-lock.json

Lines changed: 22 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"@nuxtjs/i18n": "9.5.6",
6666
"@nuxtjs/seo": "3.1.0",
6767
"@pinia/nuxt": "0.11.2",
68+
"better-sqlite3": "^12.2.0",
6869
"nuxt": "4.0.3",
6970
"nuxt-booster": "3.2.11",
7071
"pathe": "2.0.3",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)