Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目运行网络错误 #14

Open
ShuaiShuai-Code opened this issue Aug 9, 2017 · 5 comments
Open

项目运行网络错误 #14

ShuaiShuai-Code opened this issue Aug 9, 2017 · 5 comments

Comments

@ShuaiShuai-Code
Copy link

项目运行网络错误?抽空改一下吧!

@hzzly
Copy link
Owner

hzzly commented Aug 10, 2017

并不会啊,clone下来运行我没加接口地址,所以运行不了,可以自己mock数据,数据我已经上传了一份。

@vueCcc
Copy link

vueCcc commented Sep 4, 2017

楼主,//mock数据 app.use('./api',express.static('./api')); 这样行不通,还需要配置什么么

@hzzly
Copy link
Owner

hzzly commented Sep 5, 2017

马上我会用easy-mock来模拟数据,你这种方法也可以啊,api路径写对就行,不需要其它配置了

@misty0304
Copy link

mock数据有加上了么?我第一次用这个,不明白怎么mock数据,之前是写react的

@jslyzx
Copy link

jslyzx commented Apr 16, 2018

api/travelList报错是什么原因呢?报404:Cannot POST /api/travelList

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants