-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
85 lines (79 loc) · 2.27 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
module.exports = {
mode: 'spa',
/*
** Headers of the page
*/
head: {
title: 'BlackListener',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'The web interface of BlackListener' },
{ name: 'author', content: 'BlackListener' },
{ name: 'description', content: 'Bot that a Global BAN can do' },
{ name: 'msapplication-TileColor', content: '#174244' },
{ name: 'theme-color', content: '#174244' },
{ property: 'og:type', content: 'website' },
{ property: 'og:site_name', content: 'BlackListener' },
{ property: 'og:title', content: 'BlackListener' },
{ property: 'og:description', content: 'Bot that a Global BAN can do' },
{ property: 'og:url', content: 'https://blacklistener.tk' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:url', content: 'https://blacklistener.tk' },
{ name: 'twitter:domain', content: 'blacklistener.tk' },
{ name: 'twitter:description', content: 'Bot that a Global BAN can do' },
{ name: 'twitter:title', content: 'BlackListener' },
{ name: 'google-site-verification', content: 'N2L6KAFZck7lq0fv0OcaIcV1qlrW2Uiv_gn5aPpbQ8I' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' },
],
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
/*
** Global CSS
*/
css: [
'materialize-css/dist/css/materialize.css',
],
/*
** Plugins to load before mounting the App
*/
plugins: [
'~/plugins/i18n.js',
],
/*
** Nuxt.js modules
*/
modules: [
['@nuxtjs/google-analytics', {
id: 'UA-128071990-1',
}],
],
/*
** Build configuration
*/
build: {
vendor: [
'vue-i18n',
],
/*
** You can extend webpack config here
*/
extend(config, ctx) {
// Run ESLint on save
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/,
})
}
},
},
}