feat: added nuxt content

This commit is contained in:
Jaron
2026-04-29 23:06:11 -05:00
parent 3e79461faa
commit 846ebb44c9
11 changed files with 824 additions and 40 deletions
+24
View File
@@ -2,11 +2,33 @@
export default defineNuxtConfig({
compatibilityDate: '2026-04-28',
devtools: { enabled: true },
nitro: {
prerender: {
autoSubfolderIndex: false,
},
preset: 'cloudflare_module',
cloudflare: {
deployConfig: true,
wrangler: {
d1_databases: [
{
binding: 'DB',
database_name: 'folio',
database_id: '6fd8a531-a673-479a-9501-3b406bb9f76e',
},
],
},
},
},
content: {
database: {
type: 'd1',
bindingName: 'DB',
},
},
app: {
head: {
htmlAttrs: { lang: 'en' },
@@ -22,4 +44,6 @@ export default defineNuxtConfig({
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
},
},
modules: ['@nuxt/content'],
});