Generate living styleguides from scarab-carapace config
View a demo styleguide, generated from the default scarab-carapace
config:
http://scarab-styleguide.surge.sh/
- Clone project from Github:
git clone https://github.com/watchtowerdigital/scarab-styleguide.git my-styleguide
- Install dependencies:
cd my-styleguide && npm install
-
Place your project's
scarab.config.json
file in the root styleguide folder. -
Serve styleguide at
http://localhost:8080
, with proxy at port3000
:
npm run dev
- To build styleguide for production, run:
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.