/
nuxt.config.js
65 lines (60 loc) · 1.47 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
module.exports = {
server: {
port:8080, // default: 3000
host: 'localhost' // default: localhost
},
sms:{
// Token send sms
token:'n9v2n9qw9nfkdgnalvnv34e12rh2rh807hr8bd08fwbydosfb834bf7afb8b3487h7hh',
},
crypt:{
// Use encrypt and decrypt password user
//`index` is integer and index < 100
key:'ibsd83ibu20isdbe044321ffb389fn920cdsn',
index:43
},
gmail:{
// Allow less secure apps: ON
// https://myaccount.google.com/u/1/lesssecureapps
user:'kiensjs@gmail.com',
pass:'15051998'
},
head: {
title: 'Nuxt.js',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Nuxt.js project' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons' }
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
srcDir: 'client/',
css: [
'element-ui/lib/theme-chalk/index.css'
],
/*
** Build configuration
*/
modules: ['@nuxtjs/axios'],
buildModules: [],
plugins: [
'@/plugins/element-ui',
'@/plugins/v-infinite-scroll'
],
build: {
transpile: [/^element-ui/],
/*
** You can extend webpack config here
*/
extend (config, ctx) {
}
},
dev: (process.env.NODE_ENV !== 'production')
};