mirror of
https://github.com/mmahdium/portfolio.git
synced 2026-08-15 20:52:49 +03:30
fix: add @nuxt/content back with proper config for Vercel
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user