-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
71 lines (71 loc) · 2.15 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
export default defineNuxtConfig({
devtools: { enabled: false },
runtimeConfig: {
public: {
ADMIN_PASS: process.env.ADMIN_PASS
}
},
modules: [
'nuxt-primevue',
'@nuxtjs/tailwindcss',
'@nuxtjs/supabase'
],
primevue: {
/* Options */
options: {
unstyled: true,
ripple: true,
inputStyle: 'filled',
},
// cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities',
importPT: { as: 'Lara', from: "../presets/lara/"},
},
css: [
'assets/css/styles.css',
'primeicons/primeicons.css'
],
supabase: {
redirectOptions: {
login: '/login',
callback: '/confirm',
exclude: ['/', '/events(/*)?', '/leaderboard(/*)?', '/contestants(/*)?'],
cookieRedirect: true
}
},
tailwindcss: {
config: {
content: [
"presets/**/*.{js,vue,ts}"
],
theme: {
extend: {
colors: {
"primary-50": "rgb(var(--primary-50))",
"primary-100": "rgb(var(--primary-100))",
"primary-200": "rgb(var(--primary-200))",
"primary-300": "rgb(var(--primary-300))",
"primary-400": "rgb(var(--primary-400))",
"primary-500": "rgb(var(--primary-500))",
"primary-600": "rgb(var(--primary-600))",
"primary-700": "rgb(var(--primary-700))",
"primary-800": "rgb(var(--primary-800))",
"primary-900": "rgb(var(--primary-900))",
"primary-950": "rgb(var(--primary-950))",
"surface-0": "rgb(var(--surface-0))",
"surface-50": "rgb(var(--surface-50))",
"surface-100": "rgb(var(--surface-100))",
"surface-200": "rgb(var(--surface-200))",
"surface-300": "rgb(var(--surface-300))",
"surface-400": "rgb(var(--surface-400))",
"surface-500": "rgb(var(--surface-500))",
"surface-600": "rgb(var(--surface-600))",
"surface-700": "rgb(var(--surface-700))",
"surface-800": "rgb(var(--surface-800))",
"surface-900": "rgb(var(--surface-900))",
"surface-950": "rgb(var(--surface-950))",
}
}
}
}
},
})