-
Notifications
You must be signed in to change notification settings - Fork 4
/
nuxt.config.js
64 lines (63 loc) · 2.49 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
const path = require('path')
const locale = require('./locales')
module.exports = {
modules: [
['nuxt-i18n', locale]
],
/*
** Headers of the page
*/
head: {
title: 'Vue.js summit 2018 – 31/08 - 01/09 em São Paulo, Brasil',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, user-scalable=no' },
{ hid: 'description', content: "A maior experiência Vue.js da america latina!" },
{ name: 'description', content: '' },
{ property: 'og:title', content: 'Vue.js summit 2018 – 31/08 - 01/09 em São Paulo, Brasil' },
{ property: 'og:site_name', content: 'Vue.js summit 2018 – 31/08 - 01/09 em São Paulo, Brasil' },
{ property: 'og:url', content: 'https://vuejssummit.com/' },
{ property: 'og:type', content: 'website' },
{ property: 'og:description', content: 'A maior experiência Vue.js da america latina!' },
{ property: 'og:image', content: 'https://vuejssummit.com/img/cover.png' },
{ property: 'twitter:card', content: 'summary_large_image' },
{ property: 'twitter:site', content: '@vuejssummit' },
{ property: 'twitter:image', content: 'https://vuejssummit.com/img/cover.png' },
{ property: 'twitter:title', content: 'Vue.js summit 2018 – 31/08 - 01/09 em São Paulo, Brasil' },
{ property: 'twitter:description', content: 'A maior experiência Vue.js da america latina!' },
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'theme-color', content: '#3EB882' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: 'https://vuejssummit.com/img/logo-48.png' },
{ rel: 'manifest', href: '/manifest.json' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600&subset=latin-ext' },
],
script: [
{ type: 'text/javascript', src: '/sw.js' }
]
},
/*
** Global CSS
*/
// css: ['~assets/css/style.css'],
/*
** Customize the progress-bar color
*/
loading: { color: '#3B8070' },
plugins: [
{ src: '~plugins/gtag', ssr: false },
{ src: '~plugins/analytics', ssr: false },
{ src: '~plugins/cookies', ssr: false },
{ src: '~plugins/offline.js', ssr: false }
],
build: {
filenames: {
// TMP: Increment this each time when doing a release to bust the cache
app: 'app.' + Date.now() + '.js'
},
extend (config) {
// config.resolve.alias['~components'] = path.resolve(__dirname, 'src/components')
}
}
}