-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
100 lines (89 loc) · 2.07 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
96
97
98
99
100
import vsharp from 'vite-plugin-vsharp';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
imports: {
presets: [
{
from: 'vee-validate',
imports: ['useForm']
}
]
},
// vite: {
// plugins: [vsharp()],
// },
css: ['~/assets/css/main.css'],
modules: [
'@nuxtjs/plausible',
'@nuxtjs/tailwindcss',
'@nuxt/content',
'nuxt-simple-sitemap',
'nuxt-route-meta',
'nuxt-security',
"@nuxt/image"
],
plausible: {
domain: 'nutshell-lab.com',
apiHost: 'https://plausible.nutshell-lab.com'
},
site: {
url: 'https://nutshell-lab.com',
},
content: {
contentHead: false
},
sitemap: {
strictNuxtContentPaths: true,
exclude: [
'/mentions-legales',
'/faq',
'/cgv',
'/services'
],
},
ignore: [
process.env.CF_PAGES == "1" ? 'pages/dev/*' : '',
process.env.CF_PAGES == "1" ? 'pages/faq.vue' : '',
process.env.CF_PAGES == "1" ? 'pages/cgv.vue' : '',
process.env.CF_PAGES == "1" ? 'pages/services.vue' : '',
],
// fonts: {
// families: [
// // do not resolve this font with any provider from `@nuxt/fonts`
// { name: 'Silka', provider: 'local' },
// // only resolve this font with the `google` provider
// { name: 'Inter', provider: 'local' },
// ],
// experimental: {
// // You can enable support for adding preload links to the initially rendered HTML.
// // There is a known upstream issue with rendering unaesthetic links with a `../` in the URL.
// addPreloadLinks: true
// }
// },
app: {
pageTransition: { name: 'page', mode: 'out-in' },
head: {
htmlAttrs: {
lang: 'fr'
},
meta: [
{
name: 'theme-color',
content: '#161616',
},
],
link: [
{
rel: 'icon',
href: '/favicon.ico'
},
{
rel: 'apple-touch-icon',
href: '/apple-touch-icon.png'
}
]
}
},
compatibilityDate: '2024-09-16'
})