Commit ebdeb462 by xinla

--no commit message

1 parent 3b2f27b6
......@@ -5,4 +5,4 @@ ENV = 'production'
VUE_APP_BASE_API = 'http://demo.linkwechat.cn/prod-api'
# 路由基础路径
VUE_APP_BASE_URL = '/'
\ No newline at end of file
VUE_APP_BASE_URL = '/mobile/'
\ No newline at end of file
......@@ -13,10 +13,9 @@ process.env.VUE_APP_TITLE = require('./package.json').description
// 如果您的应用程序部署在子路径中,则需要在这指定子路径
// 例如:https://www.my-app.com/my-app/
// 需要将它改为'/my-app/'
const BASE_URL = process.env.NODE_ENV === 'development' ? '/' : '/mobile/'
module.exports = {
publicPath: BASE_URL,
publicPath: process.env.VUE_APP_BASE_URL || '/',
outputDir: 'dist', // 打包名称
// 打包时不生成.map文件
productionSourceMap: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!