Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianzhuanghu
ant-design-pro-vue
Commits
2b4427e2
Commit
2b4427e2
authored
Sep 29, 2018
by
Sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated: mock server by:ihx.me
parent
d293a57c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
vue.config.js
vue.config.js
+5
-3
No files found.
vue.config.js
View file @
2b4427e2
...
...
@@ -31,9 +31,11 @@ module.exports = {
modifyVars
:
{
/* less 变量覆盖,用于自定义 ant design 主题 */
/*
'primary-color': '#F5222D',
'link-color': '#F5222D',
'border-radius-base': '4px',
*/
},
javascriptEnabled
:
true
,
}
...
...
@@ -42,12 +44,12 @@ module.exports = {
devServer
:
{
proxy
:
{
'/api'
:
{
target
:
'https://
www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d
/antd-pro'
,
ws
:
tru
e
,
target
:
'https://
mock.ihx.me/mock/5baf3052f7da7e07e04a5116
/antd-pro'
,
ws
:
fals
e
,
changeOrigin
:
true
},
'/gateway'
:
{
target
:
'https://
www.easy-mock.com/mock/5b7bce071f130e5b7fe8cd7d
/antd-pro'
,
target
:
'https://
mock.ihx.me/mock/5baf3052f7da7e07e04a5116
/antd-pro'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/gateway'
:
'/api'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment