-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
78 lines (78 loc) · 1.63 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
charset: "utf-8",
viewport:
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",
title: "One account. All of Kaana.",
meta: [
{
name: "description",
content: "Sign in. Use your Kaana Account.",
},
],
script: [
//{ src: '' },
],
link: [
//{ rel: 'stylesheet', href: '' },
],
},
},
modules: [
"@nuxtjs/color-mode",
"@nuxtjs/supabase",
"@nuxtjs/i18n",
"nuxt-icon",
[
"@pinia/nuxt",
{
autoImports: ["defineStore", "acceptHMRUpdate"],
},
],
"@pinia-plugin-persistedstate/nuxt",
],
imports: {
dirs: ["stores"],
},
i18n: {
defaultLocale: "en-US",
lazy: true,
langDir: "locales/",
locales: [
{
name: "English",
code: "en-US",
file: "en-US.json",
},
{
name: "Español",
code: "es-ES",
file: "es-ES.json",
},
{
name: "Français",
code: "fr-FR",
file: "fr-FR.json",
},
],
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
css: ["@/assets/css/main.scss", "@/assets/css/fonts.css"],
piniaPersistedstate: {
storage: "localStorage",
},
colorMode: {
preference: "system", // default value of $colorMode.preference
fallback: "light", // fallback value if not system preference found
classPrefix: "",
classSuffix: "",
storageKey: "nuxt-color-mode",
},
});