-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
80 lines (75 loc) · 1.75 KB
/
nuxt.config.ts
File metadata and controls
80 lines (75 loc) · 1.75 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
future: {
compatibilityVersion: 4,
},
experimental: {
sharedPrerenderData: false,
compileTemplate: true,
resetAsyncDataToUndefined: true,
templateUtils: true,
relativeWatchPaths: true,
defaults: {
useAsyncData: {
deep: true,
},
},
},
unhead: {
renderSSRHeadOptions: {
omitLineBreaks: false,
},
},
devtools: { enabled: true },
modules: [
'@nuxt/eslint',
'@nuxt/image',
'@nuxt/fonts',
'@nuxt/icon',
'@nuxtjs/tailwindcss',
'@nuxtjs/color-mode',
'@vueuse/nuxt',
'@primevue/nuxt-module',
],
tailwindcss: {
cssPath: './assets/css/tailwind.css',
config: {
theme: {
extend: {
colors: {
background: 'hsl(var(--background))',
foreground: 'hsel(var(--foreground))',
'icon-hover': 'hsl(var(--icon-hover))',
icon: 'hsl(var(--icon))',
primary: 'hsl(var(--primary))',
secondary: 'hsl(var(--secondary))',
border: 'hsl(var(--border))',
},
},
},
content: [
`app/components/**/*.{vue,js}`,
`app/layouts/**/*.vue`,
'app/pages/**/*.vue',
'app/composables/**/*.{js,ts}',
`plugins/**/*.{js,ts}`,
`app/App.{js,ts,vue}`,
`app/app.{js,ts,vue}`,
],
darkMode: 'class',
// eslint-disable-next-line @typescript-eslint/no-require-imports
plugins: [require('tailwindcss-primeui')],
},
},
colorMode: {
classSuffix: '',
preference: 'dark',
fallback: 'light',
},
primevue: {
options: {
theme: 'none',
},
},
})