An open API service indexing awesome lists of open source software.

https://github.com/gutenye/gatsby-plugin-styled-components

A gatsby plugin for styled-components with server-sider rendering support.
https://github.com/gutenye/gatsby-plugin-styled-components

gatsby gatsby-plugin styled-components

Last synced: about 2 months ago
JSON representation

A gatsby plugin for styled-components with server-sider rendering support.

Awesome Lists containing this project

README

        

gatsby-plugin-styled-components
-----------------------

**MOVED TO gatsby Official repository https://github.com/gatsbyjs/gatsby/tree/1.0/packages/gatsby-plugin-styled-components**

A [gatsby](https://github.com/gatsbyjs/gatsby) plugin for [styled-components](https://github.com/styled-components/styled-components) with server-sider rendering support.

## Install

`yarn add gatsby-plugin-styled-components`

## How to use

edit `gatsby-config.js`

```javascript
plugins: [
`gatsby-plugin-styled-components`,
]
```

edit `src/html.js`

```html
module.exports = class extends React.Component {
render() {
return (


{this.props.styles}





)
}
}
```

## Copyright

MIT