Skip to content

Commit 39c0d00

Browse files
authored
docs: restore the most actual docs for gatsby-plugin-sass (#28975)
1 parent 51bb691 commit 39c0d00

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/docs/how-to/styling/bulma.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This guide assumes that you have a Gatsby project set up. If you need to set up
1010

1111
For starters, let's install all the required packages we're going to need.
1212

13-
`yarn add bulma node-sass gatsby-plugin-sass`
13+
`yarn add bulma sass gatsby-plugin-sass`
1414

1515
Then, add the `gatsby-plugin-sass` in to `gatsby-config.js`.
1616

docs/docs/how-to/styling/sass.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ Sass will compile `.sass` and `.scss` files to `.css` files for you, so you can
1212

1313
This guide assumes that you have a Gatsby project set up. If you need to set up a project, head to the [**Quick Start guide**](/docs/quick-start/), then come back.
1414

15-
1. Install the Gatsby plugin [**gatsby-plugin-sass**](/plugins/gatsby-plugin-sass/) and `node-sass`, a required peer dependency as of v2.0.0.
15+
1. Install the Gatsby plugin [**gatsby-plugin-sass**](/plugins/gatsby-plugin-sass/) and `sass`, a required peer dependency as of v3.0.0.
1616

17-
`npm install node-sass gatsby-plugin-sass`
17+
`npm install sass gatsby-plugin-sass`
1818

1919
2. Include the plugin in your `gatsby-config.js` file.
2020

docs/docs/how-to/styling/tailwind-css.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ See the [Twin + Gatsby + Emotion installation guide](https://github.com/ben-roge
118118

119119
#### Option #3: SCSS
120120

121-
1. Install the Gatsby SCSS plugin [**gatsby-plugin-sass**](/plugins/gatsby-plugin-sass) and `node-sass`.
121+
1. Install the Gatsby SCSS plugin [**gatsby-plugin-sass**](/plugins/gatsby-plugin-sass) and `sass`.
122122

123123
```shell
124-
npm install node-sass gatsby-plugin-sass
124+
npm install sass gatsby-plugin-sass
125125
```
126126

127127
2. To be able to use Tailwind classes in your SCSS files, add the `tailwindcss` package into the `postCssPlugins` parameter in your `gatsby-config.js`.

docs/docs/recipes/styling-css.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ Sass will compile `.scss` and `.sass` files to `.css` files for you, so you can
230230

231231
### Directions
232232

233-
1. Install the Gatsby plugin [gatsby-plugin-sass](/plugins/gatsby-plugin-sass/) and `node-sass`.
233+
1. Install the Gatsby plugin [gatsby-plugin-sass](/plugins/gatsby-plugin-sass/) and `sass`.
234234

235-
`npm install node-sass gatsby-plugin-sass`
235+
`npm install sass gatsby-plugin-sass`
236236

237237
2. Include the plugin in your `gatsby-config.js` file.
238238

0 commit comments

Comments
 (0)