Browse Source
Prettier wording for installation
add-plugins-support
Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
1 changed files with
4 additions and
6 deletions
-
README.md
|
|
@ -18,15 +18,13 @@ Next, add `styled-jsx/babel` to `plugins` in your babel configuration: |
|
|
|
|
|
|
|
```json |
|
|
|
{ |
|
|
|
"babel": { |
|
|
|
"plugins": [ |
|
|
|
"styled-jsx/babel" |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|
As the last step, simply include `<style jsx>` in your code: |
|
|
|
Now add `<style jsx>` to your code and fill it with CSS: |
|
|
|
|
|
|
|
```js |
|
|
|
export default () => ( |
|
|
|