1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Document SCSS/Less (#2742)

* Document SCSS/Less

* Add missing word

* Add docs for examples dir

* Add extra example

* uppercase J
This commit is contained in:
Tim Neutkens 2017-08-09 21:44:37 +02:00 committed by GitHub
parent 029bac4fd9
commit 62b246d902

View file

@ -1061,9 +1061,21 @@ If you want to create re-usable React components that you can embed in your Next
<details>
<summary>How do I use CSS-in-JS solutions?</summary>
Next.js bundles [styled-jsx](https://github.com/zeit/styled-jsx) supporting scoped css. However you can use a CSS-in-JS solution in your Next app by just including your favorite library [as mentioned before](#css-in-js) in the document.
Next.js bundles [styled-jsx](https://github.com/zeit/styled-jsx) supporting scoped css. However you can use any CSS-in-JS solution in your Next app by just including your favorite library [as mentioned before](#css-in-js) in the document.
</details>
<details>
<summary>How do I use CSS preprocessors like SASS / SCSS / LESS?</summary>
Next.js bundles [styled-jsx](https://github.com/zeit/styled-jsx) supporting scoped css. However you can use any CSS preprocessor solution in your Next app by following one of these examples:
- [with-external-scoped-css](./examples/with-external-scoped-css)
- [with-scoped-stylesheets-and-postcss](./examples/with-scoped-stylesheets-and-postcss)
- [with-global-stylesheet](./examples/with-global-stylesheet)
</details>
<details>
<summary>What syntactic features are transpiled? How do I change them?</summary>
@ -1118,6 +1130,12 @@ Yes! Here's an example with [Apollo](./examples/with-apollo).
Yes! Here's an [example](./examples/with-redux)
</details>
<details>
<summary>Can I use Next with my favorite Javascript library or toolkit?</summary>
Since our first release we've had **many** example contributions, you can check them out in the [examples](./examples) directory
</details>
<details>
<summary>What is this inspired by?</summary>