forked from usevital/notessential
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
86 lines (80 loc) · 1.85 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
// 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: [
{
code: "en-US",
name: "English (US)",
},
{
code: "en-LOL",
name: "LOLCAT (Kingdom of Cats)",
},
{
code: "en-UD",
name: "English (Upside-down)",
},
{
code: "ru-RU",
name: "Русский (Russia)",
},
{
code: "de-DE",
name: "Deutsch (Germany)",
},
{
code: "es-ES",
name: "Español (Spain)",
},
{
code: "no-NO",
name: "norsk (Norway)",
},
{
code: "pt-BR",
name: "Português (Brazil)",
},
{
code: "uk-UA",
name: "Українська (Ukraine)",
},
{
code: "vi-VN",
name: "Tiếng Việt (Vietnam)",
},
{
code: "zh-CN",
name: "中文简体 (Simplified 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",
})