-
Notifications
You must be signed in to change notification settings - Fork 8
/
nuxt.config.ts
115 lines (109 loc) · 2.47 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
app: {
head: {
title: "Not Essential",
titleTemplate: "%s | Not Essential",
meta: [
{
name: "description",
content:
"There are better ways to play Minecraft. Don't be forced to use Essential.",
},
{ name: "theme-color", content: "#0056ea" },
],
link: [
{ rel: "shortcut icon", href: "favicon.ico", type: "image/x-icon" },
],
},
},
modules: ["@nuxtjs/tailwindcss", "nuxt-lucide-icons", "@nuxtjs/i18n"],
i18n: {
strategy: "no_prefix",
defaultLocale: "en-US",
locales: [
//If you take this out of alphabetical order I will eat you a third time
{
code: "ar-SA",
name: "Arabic (Saudi Arabia)",
},
{
code: "de-DE",
name: "Deutsch (Germany)",
},
{
code: "en-PT",
name: "English (Pirate Speak)",
},
{
code: "en-UD",
name: "English (Upside-down)",
},
{
code: "en-US",
name: "English (US)",
},
{
code: "es-ES",
name: "Español (Spain)",
},
{
code: "hu-HU",
name: "magyar (Hungary)",
},
{
code: "ja-JP",
name: "日本語 (Japan)",
},
{
code: "en-LOL",
name: "LOLCAT (Kingdom of Cats)",
},
{
code: "no-NO",
name: "norsk (Norway)",
},
{
code: "pl-PL",
name: "Polski (Poland)",
},
{
code: "pt-BR",
name: "Português (Brazil)",
},
{
code: "pt-PT",
name: "Português (Portugal)",
},
{
code: "ru-RU",
name: "Русский (Russia)",
},
{
code: "uk-UA",
name: "Українська (Ukraine)",
},
{
code: "vi-VN",
name: "Tiếng Việt (Vietnam)",
},
{
code: "zh-CN",
name: "中文简体 (Simplified Chinese)",
},
{
code: "zh-TW",
name: "繁體中文 (Traditional Chinese)",
},
],
/*detectBrowserLanguage: {
useCookie: true,
cookieKey: "NE_i18nCookie",
}, RE-ENABLE THIS WHEN WE ACTUALLY DO RELEASE FULL i18n */
detectBrowserLanguage: false,
vueI18n: "./i18n/i18n.config",
},
css: ["~/assets/css/fonts.css"],
compatibilityDate: "2024-07-13",
})