-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
47 lines (45 loc) · 1.08 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
import Aura from '@primevue/themes/aura';
import { definePreset } from '@primevue/themes';
const MyPreset = definePreset(Aura, {
semantic: {
primary: {
50: '{emerald.50}',
100: '{emerald.100}',
200: '{emerald.200}',
300: '{emerald.300}',
400: '{emerald.400}',
500: '{emerald.500}',
600: '{emerald.600}',
700: '{emerald.700}',
800: '{emerald.800}',
900: '{emerald.900}',
950: '{emerald.950}'
}
}
});
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
modules: [
'nuxt-auth-sanctum',
'@nuxtjs/tailwindcss',
'@primevue/nuxt-module',
'@nuxt/icon'
],
sanctum: {
baseUrl: process.env.BACKEND_URL,
},
primevue: {
options: {
theme: {
preset: MyPreset,
options: {
prefix: 'p',
darkModeSelector: '.color-scheme-dark',
cssLayer: false
}
}
}
}
})