mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 18:07:00 +02:00
docs: update docusaurus-plugin-sass
instructions (#5352)
The `docusaurus-plugin-sass` plugin has `sass` as a peer dependency, so you need to install that package as well, as per their README.
This commit is contained in:
parent
295e77cc09
commit
c76dfb8a2c
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ To use Sass/SCSS as your CSS preprocessor, install the unofficial Docusaurus 2 p
|
|||
1. Install [`docusaurus-plugin-sass`](https://github.com/rlamana/docusaurus-plugin-sass):
|
||||
|
||||
```bash npm2yarn
|
||||
npm install --save docusaurus-plugin-sass
|
||||
npm install --save docusaurus-plugin-sass sass
|
||||
```
|
||||
|
||||
2. Include the plugin in your `docusaurus.config.js` file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue