You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/docs/sass.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,30 @@
1
1
---
2
-
title: Using Sass in Gatsby
2
+
title: Gatsby で Sass を使用する
3
3
---
4
4
5
-
[Sass](https://sass-lang.com)is an extension of CSS, adding nested rules, variables, mixins, selector inheritance, and more. In Gatsby, Sass code can be translated to well-formatted, standard CSS using a plugin.
> **Note**: the difference between using a `.sass`or`.scss`file is the syntax that you write your styles in. All valid CSS is valid SCSS as well so it is the easiest to use and most popular. You can read more about the differences in the [Sass documentation](https://sass-lang.com/documentation/syntax).
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.
2.Include the plugin in your `gatsby-config.js`file.
19
+
2.プラグインを `gatsby-config.js`ファイルに追記します。
20
20
21
21
```javascript:title=gatsby-config.js
22
22
plugins: [`gatsby-plugin-sass`],
23
23
```
24
24
25
-
> **Note**: You can configure [additional plugin options](/packages/gatsby-plugin-sass/#other-options) like paths to include and options for `css-loader`.
0 commit comments