43 lines
1.5 KiB
TypeScript
43 lines
1.5 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2024-04-03',
|
|
devtools: { enabled: true },
|
|
|
|
modules: [
|
|
'@nuxtjs/tailwindcss'
|
|
],
|
|
|
|
app: {
|
|
head: {
|
|
title: 'New Life Christian Church - Sermons',
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ name: 'description', content: 'Weekly sermons from New Life Christian Church' }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/x-icon', href: '/logos/favicon.ico' },
|
|
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
|
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
|
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap' }
|
|
]
|
|
}
|
|
},
|
|
|
|
css: ['~/assets/css/main.css'],
|
|
|
|
runtimeConfig: {
|
|
authSecret: process.env.AUTH_SECRET || 'change-this-secret-in-production',
|
|
adminUsername: process.env.ADMIN_USERNAME || 'admin',
|
|
adminPassword: process.env.ADMIN_PASSWORD || 'admin123',
|
|
emailHost: process.env.EMAIL_HOST || 'smtp.example.com',
|
|
emailPort: process.env.EMAIL_PORT || '587',
|
|
emailUser: process.env.EMAIL_USER || 'noreply@example.com',
|
|
emailPassword: process.env.EMAIL_PASSWORD || 'your-email-password',
|
|
emailFrom: process.env.EMAIL_FROM || 'New Life Christian Church <noreply@example.com>',
|
|
public: {
|
|
siteUrl: process.env.SITE_URL || 'https://newlife-christian.com'
|
|
}
|
|
}
|
|
})
|