优化代码
This commit is contained in:
parent
1023a687d5
commit
8fbfdbc14f
@ -68,3 +68,4 @@ new Vue({
|
||||
store,
|
||||
render: h => h(App)
|
||||
})
|
||||
console.log('后端地址:' + process.env.VUE_APP_BASE_API)
|
||||
@ -29,8 +29,8 @@ module.exports = {
|
||||
productionSourceMap: false,
|
||||
// webpack-dev-server 相关配置
|
||||
devServer: {
|
||||
host: '0.0.0.0',
|
||||
port: 8887,// port,
|
||||
host: '0.0.0.0',//项目启动host
|
||||
port: 8887,// 项目启动port,
|
||||
open: true,
|
||||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user