Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Jun 17, 2023
1 parent ba76085 commit c8ac867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The plugin will also read the `define` configuration, which supports direct use

By default, write mock data in the `mock` directory of your project's root directory:

`mock/api.mock.ts` :
`mock/**/*.mock.ts` :
``` ts
import { defineMock } from 'vite-plugin-mock-dev-server'

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default defineConfig({

默认配置,在你的项目根目录的 `mock` 目录中编写mock数据:

`mock/api.mock.ts` :
`mock/**/*.mock.ts` :
```ts
import { defineMock } from 'vite-plugin-mock-dev-server'

Expand Down

0 comments on commit c8ac867

Please sign in to comment.