57 lines
1.1 KiB
TypeScript
57 lines
1.1 KiB
TypeScript
export default defineNuxtConfig({
|
|
devtools: { enabled: false },
|
|
modules: [
|
|
'@nuxt/ui'
|
|
],
|
|
ui: {
|
|
theme: {
|
|
colors: {
|
|
primary: 'red',
|
|
gray: 'slate'
|
|
}
|
|
}
|
|
},
|
|
runtimeConfig: {
|
|
jwtSecret: process.env.JWT_SECRET || 'your-secret-key',
|
|
adminPassword: process.env.ADMIN_PASSWORD || 'admin123'
|
|
},
|
|
nitro: {
|
|
experimental: {
|
|
wasm: true
|
|
}
|
|
},
|
|
vite: {
|
|
build: {
|
|
rollupOptions: {
|
|
external: ['better-sqlite3', 'path', 'fs', 'crypto', 'bcryptjs']
|
|
}
|
|
}
|
|
},
|
|
postcss: {
|
|
plugins: {
|
|
tailwindcss: {},
|
|
autoprefixer: {},
|
|
},
|
|
},
|
|
app: {
|
|
head: {
|
|
link: [
|
|
{ rel: 'icon', type: 'image/png', href: '/logos/favicon.png' },
|
|
{
|
|
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@400;500;600;700&display=swap'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
})
|