update baseUrl

This commit is contained in:
zhigang.li 2018-11-16 16:55:09 +08:00
parent 387b0b354d
commit 39e8fa75f6
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ const resolve = dir => {
// 如果您的应用程序部署在子路径中,则需要在这指定子路径
// 例如https://www.foobar.com/my-app/
// 需要将它改为'/my-app/'
// iview-admin线上演示打包路径 https://file.iviewui.com/admin-dist/
const BASE_URL = process.env.NODE_ENV === 'production'
? '/'
: '/'