-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
35 lines (35 loc) · 1.13 KB
/
nuxt.config.ts
File metadata and controls
35 lines (35 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
css: ['~/assets/styles/main.css'],
app: {
baseURL: process.env.NUXT_APP_BASE_URL || '/',
head: {
title: 'DailyBoost',
meta: [
{
name: 'description',
content:
'Трекер задач и привычек со статистикой за неделю и месяц, мотивационными напоминаниями и современным интерфейсом.'
}
],
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Sora:wght@500;600;700&display=swap'
}
]
}
},
runtimeConfig: {
public: {
useServerApi: process.env.NUXT_PUBLIC_USE_SERVER_API === 'true'
}
},
nitro: {
preset: process.env.NITRO_PRESET || 'node-server'
}
})