no message

Former-commit-id: 66b4905a8567bb137d8a5640e80684b2a779beb7 [formerly 66b4905a8567bb137d8a5640e80684b2a779beb7 [formerly 66b4905a8567bb137d8a5640e80684b2a779beb7 [formerly 66b4905a8567bb137d8a5640e80684b2a779beb7 [formerly 0000680fe8801aa36a2bd1b54d2c1c29a860626b [formerly 929a9eae654c20e963b100708fb0e05f55417ef0]]]]]
Former-commit-id: 092bf114109f5da2e811cb019c92e0b6c17aafec
Former-commit-id: bc7e73e8d149e89b0d695c43cff4f47047313ef3
Former-commit-id: d25fb496b217b9dcd6b6732694770bd8ad885c58 [formerly 5daca6a294efa6b92c0022b3fb34ff4bdf5c2e61]
Former-commit-id: 8b4b2a273a0fc0aa213b9eaeef5f3b207a62f5b0
Former-commit-id: 366b34473e84faf3a8f0f72eb767543216e768cb
Former-commit-id: 282a43b5bd2f8a5b27bbb47b38c230bcdf0264f5
Former-commit-id: a54ceae1feb93c4c836040048e9a5041e2df2ffa
Former-commit-id: 821ca6ab33f4429b2e2877602ab7539db2b7ffa7
This commit is contained in:
liyang 2018-10-27 18:48:22 +08:00
parent f42b4eeff6
commit e54e9986ed
2 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,10 @@
# travis
# 指定构建模式
NODE_ENV=production
VUE_APP_TRAVIS=TRUE
# 标记当前是 CI 自动构建
VUE_APP_BUILD_MODE=TRAVIS
# 页面 title 前缀
VUE_APP_TITLE=D2Admin Preview

View File

@ -1,14 +1,8 @@
const path = require('path')
// 拼接路径
function resolve (dir) {
return path.join(__dirname, dir)
}
const resolve = dir => require('path').join(__dirname, dir)
// 基础路径 注意发布之前要先修改这里
let baseUrl = '/'
// 演示项目自动构建使用
if (process.env.VUE_APP_TRAVIS === 'TRUE') baseUrl = '/'
module.exports = {
baseUrl: baseUrl, // 根据你的实际情况更改这里