Skip to content

Latest commit

 

History

History
 
 

with-styled-components

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Razzle Basic 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/basic
cd basic

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