Skip to content

Commit 3bbfc8d

Browse files
authored
Update docs before milestone release 4.0.2
Encountered this issue after following instructions. saw issue sass/node-sass#3016 and recent fix facebook#9988
1 parent 3968923 commit 3bbfc8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docusaurus/docs/adding-a-sass-stylesheet.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ Generally, we recommend that you don’t reuse the same CSS classes across diffe
1010

1111
Following this rule often makes CSS preprocessors less useful, as features like mixins and nesting are replaced by component composition. You can, however, integrate a CSS preprocessor if you find it valuable.
1212

13-
To use Sass, first install `node-sass`:
13+
To use Sass, first install `node-sass@4`:
1414

1515
```sh
16-
$ npm install node-sass --save
16+
$ npm install node-sass@4 --save
1717
$ # or
18-
$ yarn add node-sass
18+
$ yarn add node-sass@4
1919
```
2020

2121
Now you can rename `src/App.css` to `src/App.scss` and update `src/App.js` to import `src/App.scss`.

0 commit comments

Comments
 (0)