-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
54 lines (50 loc) · 997 Bytes
/
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
const path = require('path')
module.exports = {
/*
** Headers of the page
*/
head: {
title: 'starter',
meta: [
{ charset: 'utf-8' },
{ hid: 'description', name: 'description', content: 'Nuxt.js project' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
],
script: [
{
src: 'http://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js'
},
{
src: 'http://res.wx.qq.com/open/js/jweixin-1.2.0.js'
}
]
},
/*
** Global CSS
*/
css: [
{
src: 'static/sass/base.sass',
lang: 'sass?indentedSyntax=true'
},
{
src: 'swiper/dist/css/swiper.css'
}
],
build: {
extend (config, { isClient }) {
config.resolve.alias['public'] = path.resolve(__dirname, './')
}
},
plugins: [
{
src: '~plugins/swiper.js', ssr: false
}
],
/*
** Customize the progress-bar color
*/
loading: { color: '#3B8070' }
}