mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
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' },
|
|
charset: 'utf-8',
|
|
viewport: 'width=device-width, initial-scale=1',
|
|
title: 'Jaron',
|
|
meta: [
|
|
{
|
|
name: 'description',
|
|
content: 'Software Engineer by trade — tinkerer by nature.',
|
|
},
|
|
],
|
|
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
|
|
},
|
|
},
|
|
|
|
modules: ['@nuxt/content'],
|
|
});
|