56 lines
1.4 KiB
TypeScript
56 lines
1.4 KiB
TypeScript
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: false },
|
|
modules: ['@nuxtjs/tailwindcss', '@vite-pwa/nuxt'],
|
|
css: ['~/assets/css/main.css'],
|
|
runtimeConfig: {
|
|
databaseUrl: process.env.DATABASE_URL,
|
|
sessionSecret: process.env.SESSION_SECRET || 'change-this-secret-in-production',
|
|
public: {
|
|
appName: 'Money'
|
|
}
|
|
},
|
|
vite: {
|
|
server: {
|
|
watch: {
|
|
ignored: ['**/node_modules/**', '**/.npm-cache/**', '**/.nuxt/**', '**/.output/**', '**/prisma/migrations/**']
|
|
}
|
|
}
|
|
},
|
|
watchers: {
|
|
chokidar: {
|
|
ignored: ['**/node_modules/**', '**/.npm-cache/**', '**/.nuxt/**', '**/.output/**', '**/prisma/migrations/**']
|
|
}
|
|
},
|
|
pwa: {
|
|
registerType: 'autoUpdate',
|
|
manifest: {
|
|
name: 'Money 가계부',
|
|
short_name: 'Money',
|
|
description: '빠르게 기록하고 기간별로 확인하는 개인 가계부',
|
|
theme_color: '#0f766e',
|
|
background_color: '#ffffff',
|
|
display: 'standalone',
|
|
scope: '/',
|
|
start_url: '/',
|
|
icons: [
|
|
{
|
|
src: '/icons/icon-192.svg',
|
|
sizes: '192x192',
|
|
type: 'image/svg+xml',
|
|
purpose: 'any'
|
|
},
|
|
{
|
|
src: '/icons/icon-512.svg',
|
|
sizes: '512x512',
|
|
type: 'image/svg+xml',
|
|
purpose: 'any maskable'
|
|
}
|
|
]
|
|
},
|
|
workbox: {
|
|
navigateFallback: '/'
|
|
}
|
|
}
|
|
})
|