Commit 5cef35b8 authored by Ahmed Tarek's avatar Ahmed Tarek Committed by Tim Neutkens

Fix style importing (#6322)

parent 774af7fa
...@@ -49,6 +49,6 @@ This example features: ...@@ -49,6 +49,6 @@ This example features:
* An app with next-sass * An app with next-sass
This example uses next-sass without css-modules. The config can be found in `next.config.js`, change `withSass()` to `withSass({cssModules: true})` if you use css-modules. Then in the code, you import the stylesheet as `import style '../styles/style.scss'` and use it like `<div className={style.example}>`. This example uses next-sass without css-modules. The config can be found in `next.config.js`, change `withSass()` to `withSass({cssModules: true})` if you use css-modules. Then in the code, you import the stylesheet as `import style from '../styles/style.scss'` and use it like `<div className={style.example}>`.
[Learn more](https://github.com/zeit/next-plugins/tree/master/packages/next-sass) [Learn more](https://github.com/zeit/next-plugins/tree/master/packages/next-sass)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment