-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
41 lines (40 loc) · 899 Bytes
/
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
import Aura from '@primevue/themes/aura';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
css: ['~/assets/css/main.css'],
vite: {
vue: {
customElement: true
},
vueJsx: {
mergeProps: true
}
},
modules: [
'@nuxtjs/tailwindcss',
'@pinia/nuxt',
"@nuxtjs/supabase",
'@vueuse/nuxt',
'@primevue/nuxt-module'
],
primevue: {
importTheme: { from: './assets/css/preset.ts'},
},
pinia: {
storesDirs: ['./stores/**', './custom-folder/stores/**'],
},
supabase: {
url: process.env.SUPABASE_URL,
key: process.env.SUPABASE_KEY,
serviceKey: process.env.SUPABASE_SERVICE_KEY,
redirect: false,
types: './schema.ts'
},
runtimeConfig: {
public: {
urlSite: process.env.NUXT_PUBLIC_VERCEL_URL
}
}
})