-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.js
90 lines (90 loc) · 2.06 KB
/
nuxt.config.js
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
module.exports = {
mode: 'spa',
modules: [
['@nuxtjs/google-analytics'],
['@nuxtjs/moment'],
],
'google-analytics': {
id: 'UA-127332250-1'
},
head: {
title: 'CremaWeb',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: `og:title`,
property: 'og:title',
content: `CremaWeb`
},
{
hid: `og:description`,
property: 'og:description',
content: `Community of developers, students and companies passionate about Web Technologies`
},
{
hid: `og:image`,
property: 'og:image',
content: `https://cremaweb.org/cremaweb.png`
},
{
hid: `og:url`,
property: 'og:url',
content: `https://cremaweb.org`
},
],
},
css: [
'~/assets/main.styl',
],
router: {
middleware: 'index',
},
build: {
extractCSS: true,
postcss: {
plugins: {
'tailwindcss': {
theme: {
backgroundColor: theme => ({
...theme('colors'),
'grey': '#f5f5f5'
}),
screens: {
xs: '340px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
boxShadow: {
// offset-x | offset-y | blur-radius | spread-radius | color
'strong': '3px 3px 4px 2px rgba(0,0,0,0.2)',
'white': '1px 2px 3px 1px rgba(255,255,255,0.2)',
},
extend: {
spacing: {
// '20': '18rem',
},
width: {
'1/10': '10%',
'2/10': '20%',
'3/10': '30%',
'4/10': '40%',
'5/10': '50%',
'6/10': '60%',
'7/10': '70%',
'8/10': '80%',
'9/10': '90%',
}
}
}
},
'autoprefixer': {},
}
}
},
generate: {
routes: []
},
}