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
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
yarn # npm i
yarn dev # npm run dev
yarn build # npm run build
yarn serve # npm run serve
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.