-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
executable file
·57 lines (49 loc) · 1.36 KB
/
config.yml
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
# 多语言路由前缀
locales: []
# 是否使用模拟数据api(prod模式无效)
isMockAPI : true
# development 开发模式
# production 生产模式
# port server端口
# apiServer api服务器 如果isMockAPI
development:
mysql :
host: '95.169.29.66'
port: '3306'
user: 'activity'
password: 'epEMyM6BHXcAsjpX'
database: 'activity'
apiServer : 'http://localhost:3334'
port: 3333
redisStore :
"host": '95.169.29.66'
"port": '6379'
production:
mysql :
host: '95.169.29.66'
port: '3306'
user: 'activity'
password: 'epEMyM6BHXcAsjpX'
database: 'activity'
apiServer : 'http://localhost:3335'
port: 3333
redisStore :
"host": '95.169.29.66'
"port": '6379'
#webpack构建路径(entry)
buildPath:
# name 路径
# isIndexEntry 是否使用index.js作为webpack.entry.
# isIndexEntry = true
# './web/page/example/index.js' --> /dist/static/js/example[chunkhash].js
# 使用index.js上一级目录名作为打包文件名(example.js).
# isIndexEntry = false
# './web/locale/zh.js' --> /dist/static/js/zh[chunkhash].js
# 使用当前文件作为打包文件名(zh.js).
-
#应用入口
name: './web/page'
isIndexEntry : true
#-
#多语言入口
#name: './web/locale'