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.
- Host: GitHub
- URL: https://github.com/gutenye/gatsby-plugin-styled-components
- Owner: gutenye
- Created: 2017-05-30T03:05:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-30T23:51:58.000Z (about 8 years ago)
- Last Synced: 2025-02-15T00:45:05.672Z (4 months ago)
- Topics: gatsby, gatsby-plugin, styled-components
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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