This repository has been archived by the owner on Jun 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
162 lines (149 loc) · 4.08 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
export default {
/*
** Nuxt rendering mode
** See https://nuxtjs.org/api/configuration-mode
*/
mode: 'universal',
/*
** Nuxt target
** See https://nuxtjs.org/api/configuration-target
*/
target: 'static',
/*
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
*/
head: {
title: "Aclevo",
meta: [
{ charset: 'utf-8' },
{ name: 'norton-safeweb-site-verification', content: '4do8zxxpkzxizmjswja194272-g4rfij0q2c0f6fxdr0xjgmfnzldkdjho4vvf961vok0qwm4flyfrwqrmyjkbmntsr12jyr4xj7s3fgo27erw4g1vcmial41b-f-j9d' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: "Aclevo is a community-orientated content-creation group created by Reasonably Selenium on November 2nd, 2015." },
{ name: "theme-color", content: "#2196F3" },
// Twitter SEO
{ hid: 'twitter:card', name: 'twitter:card', content: "summary" },
{ hid: 'twitter:site', name: 'twitter:site', content: "@AclevoReal" },
{ hid: 'twitter:creator', name: 'twitter:creator', content: "@AclevoReal" },
{ hid: 'twitter:title', name: 'twitter:title', content: "Aclevo Website" },
{ hid: 'twitter:description', name: 'twitter:description', content: "Aclevo is a community-orientated content-creation group created by Reasonably Selenium on November 2nd, 2015." },
// OG SEO
{ hid: 'og:url', property: 'og:url', content: "https://aclevo.xyz/" },
{ hid: 'og:site_name', property: 'og:site_name', content: "Aclevo Website" },
{ hid: 'og:title', property: 'og:title', content: "Aclevo" },
{ hid: 'og:description', property: 'og:description', content: "Aclevo is a community-orientated content-creation group created by Reasonably Selenium on November 2nd, 2015." },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
]
},
/*
** Global CSS
*/
css: [
{
src: "@/assets/scss/main.scss",
lang: 'scss'
}
],
/*
** Plugins to load before mounting the App
** https://nuxtjs.org/guide/plugins
*/
plugins: [
'~/plugins/vue2-filters'
],
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Nuxt.js dev-modules
*/
buildModules: [
'@/utils/sitemapRouteGenerator',
'@nuxtjs/google-analytics',
'@nuxtjs/fontawesome',
],
fontawesome: {
icons: {
solid: true,
brands: true,
}
},
googleAnalytics: {
id: 'UA-63265906-2'
},
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://github.com/nuxt-community/modules/tree/master/packages/bulma
// '@nuxtjs/bulma',
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
'@nuxtjs/pwa',
// Doc: https://github.com/nuxt/content
'@nuxt/content',
'@nuxtjs/robots',
'@nuxtjs/sitemap'
],
sitemap: {
hostname: 'https://aclevo.xyz/',
lastmod: "2021-05-30"
},
robots: {
UserAgent: '*',
Allow: "/",
Sitemap: "https://aclevo.xyz/sitemap.xml"
},
pwa: {
manifest: {
name: "The Aclevo Website",
short_name: "Aclevo",
description: "Aclevo is a content-creation group made by Reasonably Selenium in 2015.",
background_color: "#2196F3",
theme_color: "#2196F3",
}
},
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options
*/
axios: {},
/*
** Content module configuration
** See https://content.nuxtjs.org/configuration
*/
content: {},
/*
** Build configuration
** See https://nuxtjs.org/api/configuration-build/
*/
build: {
html: {
minify: {
collapseBooleanAttributes: true,
decodeEntities: true,
minifyCSS: false,
minifyJS: false,
processConditionalComments: true,
removeEmptyAttributes: true,
removeRedundantAttributes: true,
trimCustomFragments: true,
useShortDoctype: true
}
},
postcss: {
preset: {
features: {
customProperties: false
}
}
},
},
generate: {
fallback: true
}
}