feat :init
This commit is contained in:
10
web/config/dev.env.js
Normal file
10
web/config/dev.env.js
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict'
|
||||
const merge = require('webpack-merge')
|
||||
const prodEnv = require('./prod.env')
|
||||
|
||||
module.exports = merge(prodEnv, {
|
||||
NODE_ENV: '"development"',
|
||||
BASE_API: '""', // 空字符串,因为开发环境使用代理
|
||||
BASE_URL: '"http://localhost:8084"', // 开发环境前端URL
|
||||
BACKEND_URL: '"http://localhost:8091"' // 开发环境后端URL
|
||||
})
|
||||
Reference in New Issue
Block a user