-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
81 lines (80 loc) · 3.55 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
import { defineNuxtConfig } from 'nuxt'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
srcDir: 'app/',
runtimeConfig: {
public: {
API_BASE_URL: process.env.API_BASE_URL || 'https://127.0.0.1:8000/api'
}
},
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt'],
tailwindcss: {
config: {
content: [
"./app/components/**/*.{js,vue,ts}",
"./app/layouts/**/*.vue",
"./app/config/**/*.ts",
"./app/pages/**/*.vue",
"./app/plugins/**/*.{js,ts}",
],
theme: {
extend: {
colors: {
'primary-dark': '#06705e',
primary: '#84DCC6',
secondary: '#FFA69E',
'secondary-light': 'rgb(255, 251, 241)',
accent: '#FF686B',
info: '#A5FFD6'
},
fontFamily: {
marker: ['"Permanent Marker"', 'serif'],
sans: ['Helvetica'],
},
}
},
safelist: [
{ pattern: /order-\d+/ },
{ pattern: /text-gray-\d+/ },
{ pattern: /pl-\d+/ },
{ pattern: /h-\d+/ },
]
},
},
typescript: {
strict: true
},
app: {
head: {
titleTemplate: '%s - Les Transalpins',
htmlAttrs: {
prefix: 'og: https://ogp.me/ns#'
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'title', content: 'Les Transalpins - Habitat participatif situé vers la région grenobloise' },
{ name: 'description', content: 'Habitat participatif sobre, convivial, écologique et intergénérationnel situé vers la région grenobloise' },
{ hid: 'og:locale', property: 'og:locale', content: 'fr_FR' },
{ hid: 'og:site_name', property: 'og:site_name', content: 'Les Transalpins' },
{ hid: 'og:title', property: 'og:title', content: 'Habitat participatif situé vers la région grenobloise' },
{ hid: 'og:description', property: 'og:description', content: 'Habitat participatif sobre, convivial, écologique et intergénérationnel situé vers la région grenobloise' },
{ hid: 'og:url', property: 'og:url', content: 'https://www.lestransalpins.org' },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'og:image', property: 'og:image', content: 'https://www.lestransalpins.org/images/vercors.jpg' },
{ hid: 'og:image:alt', property: 'og:image:alt', content: 'Illustration : Les hauts plateaux du vercors | les Transalpins' },
{ hid: 'twitter:card', name: 'twitter:card', content: 'summary' },
{ hid: 'twitter:domain', name: 'twitter:domain', content: 'https://www.lestransalpins.org' },
{ hid: 'twitter:title', name: 'twitter:title', content: 'Habitat participatif situé vers la région grenobloise' },
{ hid: 'twitter:description', name: 'twitter:description', content: 'Habitat participatif sobre, convivial, écologique et intergénérationnel situé vers la région grenobloise' },
{ hid: 'twitter:image', name: 'twitter:image', content: 'https://www.lestransalpins.org/images/vercors.jpg' },
{ hid: 'twitter:image:alt', name: 'twitter:image:alt', content: 'Illustration : Les hauts plateaux du vercors | les Transalpins' }
],
link: [
{ rel: 'stylesheet', href: '//fonts.googleapis.com/css?family=Permanent+Marker' },
{ rel: 'stylesheet', href: '//fonts.googleapis.com/css?family=Amatic+SC' },
{ rel: 'stylesheet', href: '//fonts.googleapis.com/css?family=Caveat' }
]
},
},
})