README
Razzle with-styled-components Example
How to use
Download the example or clone the whole project:
curl https://codeload.github.com/jaredpalmer/razzle/tar.gz/master | tar -xz --strip=2 razzle-master/examples/with-styled-components
cd with-styled-components
Install it and run:
yarn install
yarn start
Idea behind the example
This is a basic, bare-bones example that shows a very minimal implementation
of StyledComponents.
It satisfies the entry points src/index.js for the server andsrc/client.js
for the browser.
There are comments in src/server.js to show how the styles are gathered and
rendered into to the DOM