-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
95 lines (92 loc) · 3.02 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// https://nuxt.com/docs/api/configuration/nuxt-config
import path from 'path';
export default defineNuxtConfig({
devtools: { enabled: true },
nitro: {
compressPublicAssets: true,
brotli: true,
prerender: {
crawlLinks: true
}
},
modules: ['@nuxtjs/tailwindcss', '@samk-dev/nuxt-vcalendar', '@sidebase/nuxt-auth', 'nuxt-delay-hydration', '@pinia/nuxt', "nuxt-headlessui", "@vee-validate/nuxt", "@nuxtjs/cloudinary", "nuxt3-leaflet", "nuxt-primevue", "@nuxt/image"],
primevue: {
//unstyled: true,
importPT: { from: path.resolve(__dirname, './presets/lara/') },
components: {
include: ['Dropdown', 'Toast', 'ProgressSpinner'],
exclude: ['Editor', 'Chart']
}
},
delayHydration: {
mode: 'mount',
exclude: [
],
},
app: {
head: {
charset: 'utf-16',
viewport: 'width=500, initial-scale=1',
title: 'Airbnb with Nuxt3',
htmlAttrs: {
lang: 'en'
},
meta: [
{ name: 'description', content: 'Airbnb with Nuxt.js.' },
{ name: 'keywords', content: 'Nuxt Airbnb' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: 'https://a0.muscache.com/airbnb/static/logotype_favicon-21cc8e6c6a2cca43f061d2dcabdf6e58.ico' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Raleway:wght@400;500;600;700&display=swap' }
]
},
},
auth: {
provider: {
type: 'authjs'
},
isEnabled: true,
baseUrl: process.env.AUTH_ORIGIN,
},
tailwindcss: {
exposeConfig: true,
viewer: true,
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))'
}
}
}
}
},
build: {
transpile: ['@vuepic/vue-datepicker']
}
});