-
Notifications
You must be signed in to change notification settings - Fork 69
/
nuxt.config.ts
50 lines (48 loc) · 1.36 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
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 trobonox <[email protected]>, gitoak
//
// SPDX-License-Identifier: CC0-1.0
import "node:path";
import license from "rollup-plugin-license";
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
app: { pageTransition: { mode: "out-in", name: "page" } },
css: ["@/assets/css/scrollbars.css", "@/assets/css/global.css"],
devtools: {
enabled: false,
},
modules: [
"@nuxtjs/tailwindcss",
"@pinia/nuxt",
"@vueuse/nuxt",
"radix-vue/nuxt",
"@nuxt/eslint",
"@nuxtjs/i18n",
],
ssr: false,
telemetry: false,
vite: {
plugins: [
license({
thirdParty: {
includePrivate: true,
output: "./LICENSES_3RD_PARTY.txt",
},
}),
],
},
i18n: {
locales: [
{ code: "en", name: "English", file: "en.json" },
{ code: "de", name: "Deutsch", file: "de.json" },
{ code: "es", name: "Español", file: "es.json" },
{ code: "pt_br", name: "Português (Brasil)", file: "pt_br.json" },
{ code: "zh_cn", name: "简体中文", file: "zh_cn.json" },
{ code: "ru", name: "Русский", file: "ru.json" },
{ code: "uk", name: "українська", file: "uk.json" },
],
defaultLocale: "en",
langDir: "locales/",
strategy: "no_prefix",
},
compatibilityDate: "2024-07-29",
});