[update] 框架调整
This commit is contained in:
+7
-6
@@ -1,6 +1,6 @@
|
||||
const path = require('path')
|
||||
const CompressionPlugin = require('compression-webpack-plugin')
|
||||
|
||||
const modifyLessVars = require('./src/assets/less/modifyLessVars')
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, dir)
|
||||
}
|
||||
@@ -65,9 +65,10 @@ module.exports = {
|
||||
less: {
|
||||
modifyVars: {
|
||||
/* less 变量覆盖,用于自定义 ant design 主题 */
|
||||
'primary-color': '#1890FF',
|
||||
'link-color': '#1890FF',
|
||||
'border-radius-base': '4px'
|
||||
'primary-color': '#0094FF',
|
||||
'link-color': '#0094FF',
|
||||
'border-radius-base': '4px',
|
||||
...modifyLessVars
|
||||
},
|
||||
javascriptEnabled: true
|
||||
}
|
||||
@@ -75,7 +76,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
devServer: {
|
||||
port: 3000,
|
||||
port: 4242,
|
||||
proxy: {
|
||||
/* '/api': {
|
||||
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
|
||||
@@ -86,7 +87,7 @@ module.exports = {
|
||||
}
|
||||
}, */
|
||||
'/jero-boot': {
|
||||
target: 'http://localhost:8080', // 请求本地 jero-boot后台项目
|
||||
target: 'http://localhost:9393', // 请求本地 jero-boot后台项目
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user