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/basic
cd basic
Install it and run:
yarn install
yarn start
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