-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
nuxt.config.ts
53 lines (53 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
52
53
// https://nuxt.com/docs/api/configuration/nuxt-config
import "dotenv/config";
export default defineNuxtConfig({
modules: ["@nuxtjs/i18n", "@nuxtjs/supabase"],
devtools: { enabled: true },
css: [
"@/assets/css/fonts.css",
"@/assets/css/tailwind.css",
"@/assets/css/global.css",
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
app: {
head: {
meta: [
{
name: "viewport",
content: "width=device-width, initial-scale=1, viewport-fit=cover",
},
],
link: [
{
rel: "icon",
type: "image/x-icon",
href: "/favicon.ico",
}
]
},
pageTransition: {
name: 'fade',
mode: 'out-in'
},
layoutTransition: {
name: 'slide',
mode: 'out-in'
}
},
supabase: {
url: process.env.SUPABASE_URL,
key: process.env.SUPABASE_KEY,
redirect: false,
cookieOptions: {
maxAge: 30 * (24 * (60 * 60)),
}
},
nitro: {
preset: "vercel"
},
});