Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 877bb23

Browse files
tychenjiajunmatsp
authored andcommitted
docs: update sass-loader config for 8.0.0 (#511)
1 parent f4d6f29 commit 877bb23

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/guide/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,24 @@ Webpack example:
199199

200200
Vue config example:
201201
```javascript
202+
css: {
203+
loaderOptions: {
204+
sass: {
205+
sassOptions: {
206+
includePaths: ["./node_modules"]
207+
}
208+
}
209+
}
210+
}
211+
```
212+
213+
For `sass-loader` before `8.0.0`, use the following:
214+
```
202215
css: {
203216
loaderOptions: {
204217
sass: {
205218
includePaths: ['./node_modules']
206219
}
207220
}
208221
}
209-
```
222+
```

0 commit comments

Comments
 (0)