-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
51 lines (51 loc) · 1.03 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-09-27",
ssr: true,
modules: [
"@nuxtjs/tailwindcss",
"@nuxt/icon",
"@vueuse/nuxt",
"@nuxtjs/i18n",
"@nuxt/fonts",
"@nuxt/image",
"@formkit/auto-animate/nuxt",
],
icon: {
clientBundle: {
scan: true,
sizeLimitKb: 512,
},
},
tailwindcss: {
cssPath: ["~/assets/scss/tailwind.scss", { injectPosition: "first" }],
configPath: "./tailwind.config.js",
viewer: false,
},
fonts: {
families: [
{ name: "Inter", provider: "google" },
{ name: "Russo One", provider: "google" },
],
},
i18n: {
strategy: "no_prefix",
detectBrowserLanguage: {
fallbackLocale: "en",
},
langDir: "./i18n/locales",
locales: [
{
code: "en",
name: "English",
file: "en.json",
},
{
code: "pt",
name: "Português",
file: "pt.json",
},
],
vueI18n: "./i18n/config.ts",
},
});