-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
59 lines (51 loc) · 1.52 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@nuxt/content', '@unocss/nuxt'],
app: {
head: {
htmlAttrs: {
lang: 'fr',
},
},
},
runtimeConfig: {
emailContact: '', // use NUXT_EMAIL_CONTACT environment variable
},
vite: {
css: {
preprocessorOptions: {
scss: {
// Sass core contain all mixins & variables
// Included as dependency for all vue components
// ex: reuse Sass vars & mixins
additionalData: '@use "@/assets/core.scss" as *;',
},
},
},
},
css: [
// The entry file loaded on all pages
'@unocss/reset/tailwind.css',
'@/assets/main.scss',
],
nitro: {
prerender: {
routes: [
'/api/getTaxa',
'/api/getSpecies',
'/api/getEncryptedEmailContact',
],
},
},
experimental: {
payloadExtraction: false, // Fix 404 payload on SSG https://github.com/nuxt/nuxt/issues/22068
},
compatibilityDate: '2024-09-17',
site: {
indexable: false,
url: 'https://myrmecophoto.fr',
name: 'Myrmecophoto - Macrophotographie et Élevage de Fourmis | Myrmécologie et Biodiversité',
description: `Découvrez Myrmecophoto, le site dédié à la macrophotographie des fourmis, à leur élevage et à l'exploration de la myrmécologie. Articles, guides pratiques, et comparatifs de matériel pour capturer la biodiversité.`,
defaultLocale: 'fr', // not needed if you have @nuxtjs/i18n installed
},
})