-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
81 lines (73 loc) · 2.4 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
const json = require('./json/data.json')
module.exports = {
mode: 'universal',
generate: {
routes: function () {
return json.map(w => `/speakers/${w.id}`)
}
},
server: {
port: 8000, // default: 3000
host: '0.0.0.0', // default: localhost
},
/*
** Headers of the page
*/
head: {
title: 'Nodeconf Argentina 2020',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'description', hid: 'description', content: 'Join us for NodeConf Argentina! Our fourth edition will be held at Ciudad Cultural Konex - Buenos Aires, in October 9th & 10th, 2020'},
// Open Graph
{ name: 'og:title', content: 'NodeConf Argentina 2020' },
{ name: 'og:description', content: 'Join us for NodeConf Argentina! Our fourth edition will be held at Ciudad Cultural Konex - Buenos Aires, in October 9th & 10th, 2020'},
{ name: 'og:type', content: 'website' },
{ name: 'og:url', content: 'https://2020.nodeconfar.com/' },
{ name: 'og:image', content: 'https://2020.nodeconfar.com/og-image.png' },
// Twitter Card
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@nodeconfar' },
{ name: 'twitter:title', content: 'NodeConf Argentina 2020' },
{ name: 'twitter:description', content: 'Join us for NodeConf Argentina! Our fourth edition will be held at Ciudad Cultural Konex - Buenos Aires, in October 9th & 10th, 2020'},
{ name: 'twitter:image', content: 'https://2020.nodeconfar.com/og-image.png' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: 'https://2020.nodeconfar.com/favicon.ico' },
{ rel: 'stylesheet', href: 'https://cdnjs.cloudflare.com/ajax/libs/tachyons/4.11.1/tachyons.min.css'},
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Poppins:300,700,900'},
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
/*
** Global CSS
*/
css: [
{ src: './assets/scss/main.scss' }
],
/*
** Plugins to load before mounting the App
*/
plugins: [
{ src: '~/plugins/scroll-to.js', ssr: false },
{ src: '~/plugins/ga.js', mode: 'client' }
],
/*
** Nuxt.js modules
*/
modules: [
],
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {
}
}
};