This repository has been archived by the owner on Apr 15, 2021. It is now read-only.
forked from Vannsl/tailwind-landing-page-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
110 lines (110 loc) · 2.21 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
export default {
mode: 'universal',
/*
** Headers of the page
*/
head: {
title: 'Statusflare - Monitoring Made Easy',
script: [
{ src: '/tawk.js', body: true },
],
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: 'Monitoring made easy.'
},
{
hid: 'twitter:card',
name: 'twitter:card',
content: 'summary_large_image'
},
{
hid: 'twitter:title',
name: 'twitter:title',
content: 'Statusflare'
},
{
hid: 'twitter:description',
name: 'twitter:description',
content: 'Monitoring made easy.'
},
{
hid: 'twitter:image',
name: 'twitter:image',
content: 'https://www.statusflare.com/og-statusflare-logo.png'
},
{
hid: 'twitter:site',
name: 'twitter:site',
content: '@statusflare_com'
}
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
},
pwa: {
manifest: {
description: 'Monitoring made easy.',
name: 'Statusflare landing page',
theme_color: '#fe8b4c',
},
oneSignal: false,
meta: {
ogImage: {
path: 'og-statusflare-logo.png',
width: '1200',
height: '627',
type: 'image/png',
},
ogHost: 'https://www.statusflare.com/',
},
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
/*
** Global CSS
*/
css: [],
/*
** Plugins to load before mounting the App
*/
plugins: [],
/*
** Nuxt.js dev-modules
*/
buildModules: [
// Doc: https://github.com/nuxt-community/nuxt-tailwindcss
'@nuxtjs/tailwindcss',
'@nuxtjs/pwa',
],
/*
** Nuxt.js modules
*/
modules: [
'nuxt-svg-loader',
'@nuxtjs/robots',
],
purgeCSS: {
whitelist: ['hidden'],
whitelistPatterns: [/md:w-[1-6]/]
},
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {
loaders: {
file: {
esModule: false
}
}
}
}
}