-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnuxt.config.js
More file actions
56 lines (55 loc) · 1.37 KB
/
nuxt.config.js
File metadata and controls
56 lines (55 loc) · 1.37 KB
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
let meta = {
title: 'ERC721 Validator',
description: 'Validates ERC721 smart contracts and tokens'
}
module.exports = {
/*
** Nuxt rendering mode
** See https://nuxtjs.org/api/configuration-mode
*/
mode: 'universal',
/*
** Nuxt target
** See https://nuxtjs.org/api/configuration-target
*/
target: 'static',
head: {
title: meta.title,
meta: [
{ charset: "utf-8" },
{ hid: "title", property: "og:title", content: meta.title },
{ property: "og:description", content: meta.description },
{ hid: "twitterTitle", property: "twitter:title", content: meta.title },
{ property: "twitter:description", content: meta.description },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ hid: "description", name: "description", content: meta.description }
],
link: [{ rel: "icon", type: "image/png", href: "/favicon.png" }]
},
css: [
'@/assets/scss/styles.scss'
],
// css: [{ src: '~/assets/scss/styles.scss', lang: 'scss' }],
loading: {
color: "#0971FF"
},
plugins: [
{ src: "~plugins/vee-validate.js" },
{ src: "~plugins/vue-scrollto.js" }
],
modules: [
'@nuxtjs/axios',
['@nuxtjs/google-analytics', {
id: 'UA-122962534-1'
}]
],
axios: {
baseURL: process.env.API_BASE_URL
},
build: {
vendor: [
'axios',
'vue-scrollto'
],
}
}