Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
debabin authored and babin committed Jan 15, 2023
1 parent 8fc20a8 commit 4b2b126
Show file tree
Hide file tree
Showing 2 changed files with 4,539 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ $ yarn add mock-config-server --dev
Install **🎉 Mock Config Server** with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)

```bash
$ npm i mock-server --save --dev
$ npm i mock-config-server --save --dev
# or
$ yarn add mock-server --dev
$ yarn add mock-config-server --dev
```

Create a `mock-server.config.js` file with server configuration

```javascript
/** @type {import('mock-server').Mock.ServerConfig} */
/** @type {import('mock-config-server').Mock.ServerConfig} */
const mockServerConfig: Mock.ServerConfig = {
configs: [
{
Expand Down
Loading

0 comments on commit 4b2b126

Please sign in to comment.