-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.js
78 lines (74 loc) · 1.92 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
const builtAt = new Date().toISOString()
const path = require('path')
const { I18N } = require('./locales/i18n-nuxt-config')
export default {
mode: 'universal',
googleAnalytics: {
id: 'UA-12301-2'
},
head: {
title: 'Scatter, an open-source multi blockchain wallet',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no' },
{ name: 'theme-color', content: '#00A8FF' },
{ name: 'robots', content: 'index, follow' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@Get_scatter' },
{ property: 'og:type', content: 'profile' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/static/favicon.ico' },
{ rel: 'icon', type: 'image/png', href: '/static/favicon-16x16.png', sizes: '16x16' },
{ rel: 'icon', type: 'image/png', href: '/static/favicon-32x32.png', sizes: '32x32' },
{ rel: 'apple-touch-icon', href: '/static/apple-touch-icon.png', sizes: '180x180' },
{ rel: 'manifest', href: '/manifest.json' }
]
},
router: {
linkActiveClass: 'active-link',
linkExactActiveClass: 'exact-active-link',
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
/*
** Global CSS
*/
css: ['@/assets/styles.scss','@/assets/_variables.scss'],
/*
** Plugins to load before mounting the App
*/
plugins: [
{ src: '@/plugins/lazyload' },
{ src: '@/plugins/globalComponents' },
{ src: '@/plugins/i18n' },
{ src: '@/plugins/languages' },
{ src: "@/plugins/aos", ssr: false }
],
/*
** Nuxt.js dev-modules
*/
buildModules: [
],
/*
** Nuxt.js modules
*/
modules: [
['nuxt-i18n', I18N],
'@nuxtjs/sitemap'
],
/*
** Build configuration
*/
build: {
extend (config) {
}
},
generate: {
routes: [
'404'
]
}
}