-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
67 lines (58 loc) · 1.24 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
export default {
modules: [
'@nuxtjs/markdownit',
'@nuxtjs/pwa',
'nuxt-compress',
],
markdownit: {
injected: true
},
"nuxt-compress": {
gzip: {
cache: true
},
brotli: {
threshold: 10240
}
},
//-----------------------------
pwa: {
manifest: {
name: 'Nuxt Boilerplate',
short_name: 'Nuxt Boilerplate',
description: "A Nuxt Boilerplate.",
lang: 'en',
theme_color: "#fff",
orientation: "portrait-primary",
useWebmanifestExtension: false
},
icon: {
source: 'static/webmanifest/icon.png'
}
},
//-----------------------------
head: {
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: 'favicon/favicon.ico?v1',
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Roboto+Condensed&family=Roboto+Slab&display=swap'
}
]
},
//-----------------------------
css: [
'@/assets/css/_reset.css',
'@/assets/css/_skeleton.css',
'@/assets/css/sass_mq.scss',
'@/assets/css/global.scss',
'@/assets/css/transitions.scss',
'@/assets/css/blog.scss'
],
//-----------------------------
components: true
}