Skip to content

Commit 3f65646

Browse files
committed
docs: add CSS options to README
1 parent e9c9a2d commit 3f65646

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,24 @@ vue-jest compiles the script and template of SFCs into a JavaScript file that Je
8181
}
8282
}
8383
}
84-
```
84+
```
85+
86+
## CSS options
87+
88+
`experimentalCSSCompile`: `Boolean` Default true. Turn off CSS compilation
89+
`hideStyleWarn`: `Boolean` Default false. Hide warnings about CSS compilation
90+
`resources`:
91+
92+
```js
93+
// package.json
94+
{
95+
"jest": {
96+
"globals": {
97+
"vue-jest": {
98+
"hideStyleWarn": true,
99+
"experimentalCSSCompile": true
100+
}
101+
}
102+
}
103+
}
104+
```

0 commit comments

Comments
 (0)