-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.js
49 lines (49 loc) · 1.48 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
module.exports = {
/*
** Headers of the page
*/
head: {
title: 'DevFest 2019 Jogjakarta',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'GDG Devfest is the biggest annual event of GDG Jogjakarta. This is an event for developers and tech-enthusiasts that is led by communities and experts.' }
],
link: [
{ rel: 'icon', type: 'image/png', href: '/favicon.png' },
// { rel: 'stylesheet', type: 'text/css', href: 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' }
],
script: [
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/umd/popper.min.js' },
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js' },
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js' }
]
},
/*
** Global CSS
*/
css: ['~/assets/sass/style.sass', '~/assets/css/main.css'],
/*
** Add axios globally
*/
build: {
vendor: ['axios'],
/*
** Run ESLINT on save
*/
// extend (config, ctx) {
// if (ctx.isDev && ctx.isClient) {
// config.module.rules.push({
// enforce: 'pre',
// test: /\.(js|vue)$/,
// loader: 'eslint-loader',
// exclude: /(node_modules)/
// })
// }
// }
},
serverMiddleware: [
// API middleware
'~/api/index.js'
]
}