fix: add @nuxt/content back with proper config for Vercel

This commit is contained in:
mahdiarghyani
2025-11-10 19:19:49 +03:30
parent 8c4af44ac9
commit ac39bbb447
3 changed files with 1729 additions and 70 deletions
+19
View File
@@ -23,6 +23,7 @@ export default defineNuxtConfig({
},
modules: [
'@nuxt/content',
'@nuxt/fonts',
'@nuxt/ui',
'@nuxtjs/i18n',
@@ -133,6 +134,24 @@ export default defineNuxtConfig({
// Nuxt Content configuration
content: {
// Disable experimental features that require native dependencies
experimental: {
clientDB: false,
cacheContents: false
},
markdown: {
mdc: true,
toc: {
depth: 3,
searchDepth: 3
}
},
documentDriven: false,
respectPathCase: true
},
i18n: {
defaultLocale: 'en',
strategy: 'prefix_except_default',