-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
57 lines (57 loc) · 1.1 KB
/
nuxt.config.ts
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
// devtools: { enabled: true },
css: ["~/assets/css/main.css"],
modules: [
"@nuxt/content",
"@nuxt/ui",
[
"@nuxtjs/google-fonts",
{
outputDir: "assets",
families: {
Montserrat: [400, 500, 600, 700],
},
},
],
"@nuxtjs/i18n",
],
runtimeConfig: {
public: {
CENTER_COORDINATES: process.env.NUXT_PUBLIC_CENTER_COORDINATES || [ 46.77373, 2.230225 ],
ZOOM: process.env.NUXT_PUBLIC_ZOOM || 6,
}
},
content: {
documentDriven: true,
experimental: {
clientDB: true
}
},
colorMode: {
preference: 'light'
},
nitro: {
preset: "service-worker",
// prerender: {
// routes: ["/"],
// ignore: ['/blog/**', '/app', ]
// },
},
i18n: {
locales: [
{
code: 'fr-FR',
file: 'fr-FR.json',
name: "Français",
},
{
code: 'en-US',
file: 'en-US.json',
name: "English"
}
],
defaultLocale: 'fr-FR',
},
});