配置修改

1、线上部署修改LaiKeMchViews.env.java_prod_production

NODE_ENV = production
# just a flag
ENV = 'java_prod_production'

# JAVA base api
VUE_APP_PROXY_API = 'https://java.houjiemeishi.com/gw'


# 商城ID 在 管理后台-商城列表 中获取这个值
VUE_APP_STORE = '1'

# You will need to set publicPath if you plan to deploy your site under a sub path,
# for example GitHub Pages. If you plan to deploy your site to https://foo.github.io/bar/,
# then publicPath should be set to "/bar/".
# In most cases please use '/' !!!
# Detail: https://cli.vuejs.org/config/#publicpath
# 访问上下文,不要改vue.config.js 里面的publicPath
PUBLIC_PATH = '/'

Copyright © www.laiketui.com all right reserved,powered by Gitbook该文件修订时间: 2024-06-19 15:29:54

results matching ""

    No results matching ""