3 Forks
11 Stars
11 Watchers

mockjs-fetch

加2行代码让你的mock.js支持fetch

How to download and setup mockjs-fetch

Open terminal and run command
git clone https://github.com/sxei/mockjs-fetch.git
git clone is used to create a copy or clone of mockjs-fetch repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with mockjs-fetch https://github.com/sxei/mockjs-fetch/archive/master.zip

Or simply clone mockjs-fetch with SSH
[email protected]:sxei/mockjs-fetch.git

If you have some problems with mockjs-fetch

You may open issue on mockjs-fetch support forum (system) here: https://github.com/sxei/mockjs-fetch/issues