Skip to content

Commit 514d50e

Browse files
committed
doc: update doc
1 parent eba45cd commit 514d50e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,13 @@ Thank you to all the users of version 0.x. I believe you won’t need to put in
4343

4444
The differences between 0.x and 1.x are as follows:
4545

46-
optionPath in nuxt.config has been changed to folderPath. Originally, it pointed to a file, but now it points to a folder.
47-
The settings for worker and server were previously written in the same file. To better utilize the environments they run in, worker and server will now run in separate files. Please refer to the instructions below.
48-
Added support for unit testing in the Nuxt environment.
49-
Added support for Nuxt layers.
46+
- `optionPath` in `nuxt.config` has been changed to `folderPath`. Originally, it pointed to a file, but now it points to a folder.
47+
- You need init MSW worker file manually. `nuxt-msw` no longer auto provide a worker file.
48+
- The settings for worker and server were previously written in the same file. To better utilize the environments they run in, worker and server will now run in separate files. Please refer to the instructions below.
49+
- Added support for unit testing in the Nuxt environment.
50+
- Added support for Nuxt layers.
51+
52+
If you don't want upgrade to 1.x now, you can find the 0.x doc here: [0.2.x doc](https://github.com/shunnNet/nuxt-msw/tree/v0.2.0)
5053

5154
## Setup
5255
To install the module to your Nuxt application:

0 commit comments

Comments
 (0)