-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
57 lines (51 loc) · 1.06 KB
/
Copy pathnuxt.config.ts
File metadata and controls
57 lines (51 loc) · 1.06 KB
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
import tailwindcss from "@tailwindcss/vite"
import {
appHead,
iconConfig,
imageConfig,
routeRulesConfig,
siteConfig,
siteMapConfig,
} from "./config/index.config"
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
routeRules: routeRulesConfig,
modules: [
'@nuxt/image',
'@nuxt/icon',
'@nuxt/test-utils/module',
'@nuxtjs/seo',
'nuxt-posthog',
'@nuxtjs/supabase',
'@vueuse/nuxt',
'@nuxt/eslint',
'@pinia/nuxt',
'@nuxtjs/sitemap'
],
supabase: {
redirect: false,
url: process.env.SUPABASE_URL,
key: process.env.SUPABASE_KEY,
serviceKey: process.env.SUPABASE_SERVICE_KEY,
},
app: appHead,
site: siteConfig,
sitemap: siteMapConfig,
image: imageConfig,
icon: iconConfig,
vite: {
plugins: [
tailwindcss()
],
},
css: [
'assets/css/main.css',
],
compatibilityDate: '2025-04-11',
runtimeConfig: {
public: {
siteUrl: process.env.NUXT_PUBLIC_SITE_URL || 'https://kaamelottgifs.fr'
}
}
})