Commit c85f2e3c by henry

优化配置

1 parent b2e40e75
Showing with 3 additions and 2 deletions
NODE_ENV = 'production' NODE_ENV = 'production'
VUE_APP_BASE_URL = "http://192.168.0.120:80" VUE_APP_BASE_URL = "http://192.168.0.102:80"
const { defineConfig } = require('@vue/cli-service') const { defineConfig } = require('@vue/cli-service')
// const ip = '43.143.211.42'; // const ip = '43.143.211.42';
const ip = '172.20.10.3'; // const ip = '172.20.10.3';
// const ip = '172.20.10.9'; // 何鹏 // const ip = '172.20.10.9'; // 何鹏
// const ip = '192.168.0.120'; // const ip = '192.168.0.120';
// const ip = '192.168.0.13'; // const ip = '192.168.0.13';
const ip = '192.168.0.102';
module.exports = defineConfig({ module.exports = defineConfig({
transpileDependencies: true, transpileDependencies: true,
//如果是hash模式, publicPath:"";如果是history, publicPath:"/" //如果是hash模式, publicPath:"";如果是history, publicPath:"/"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!