Skip to content

Latest commit

 

History

History
 
 

with-styled-components-and-scoping

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Docz Styled Components Example

Using create-docz-app

npx create-docz-app docz-app-styled-docz --example with-styled-components-and-scoping
# or
yarn create docz-app docz-app-styled-docz --example with-styled-components-and-scoping

Download manually

curl https://codeload.github.com/doczjs/docz/tar.gz/master | tar -xz --strip=2 docz-master/examples/with-styled-components-and-scoping
mv with-styled-components-and-scoping docz-example-styled-docz

Setup

yarn # npm i

Run

yarn dev # npm run dev

Build

yarn build # npm run build

Serve built app

yarn serve # npm run serve

Deploy

yarn deploy

Note that by default docz generates the output site in .docz/public to change that add a dest field to your doczrc.js with the path you want to generate the code in.