配置修改
1、本地测试修改 .env.development
# just a flag
ENV = 'development'
# base api
# 使用网关地址
VUE_APP_BASE_API = 'https://think.laiketui.net/gw'
# 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
# 如果放在二级目录,比如地址为‘https://think.laiketui.net/admin’,则使用 PUBLIC_PATH = '/admin'
# 如果放在一级目录,比如地址为‘https://think.laiketui.net’则使用 PUBLIC_PATH = '/'
# 本地部署使用 PUBLIC_PATH = '/'
PUBLIC_PATH = '/'