generated from sovbiz/Cypher-Lightning-Edition
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
85 lines (78 loc) · 1.71 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/content',
'@nuxtjs/i18n',
"@nuxtjs/color-mode",
'@nuxtjs/tailwindcss',
"@pinia/nuxt",
],
alias: {
pinia: "/node_modules/@pinia/nuxt/node_modules/pinia/dist/pinia.mjs"
},
css: [
'@/assets/css/main.css',
],
components: {
global: true,
dirs: ['~/components']
},
i18n: {
// baseUrl: process.env.BASE_URL || "http://localhost:3000",
defaultLocale: "en",
detectBrowserLanguage: false,
locales: [
{
code: "da",
iso: "da-DA",
name: "Dansk",
file: "da-DA.json",
},
{
code: "de",
iso: "de-DE",
name: "Deutsch",
file: "de-DE.json",
},
{
code: "en",
iso: "en-GB",
name: "English",
file: "en-GB.json",
},
{
code: "es",
iso: "es-ES",
name: "Español",
file: "es-ES.json",
},
{
code: "fr",
iso: "fr-FR",
name: "Français",
file: "fr-FR.json",
},
{
code: "pt",
iso: "pt-PT",
name: "Português",
file: "pt-PT.json"
},
{
code: "nl",
iso: "nl-NL",
name: "Nederlands",
file: "nl-NL.json",
},
],
lazy: true,
langDir: "locales",
},
colorMode: {
preference: "system", // default value of $colorMode.preference
fallback: "dark", // fallback value if no system preference found
classSuffix: "", // This removed the classSuffix provided by Color Mode / Tailwind Darkmode Hookup
},
devtools: { enabled: true },
compatibilityDate: "2024-08-01"
})