Find file Copy path
83198ee Aug 8, 2018
3 contributors

Users who have contributed to this file

@sapegin @rubenmoya @n1313
37 lines (26 sloc) 953 Bytes

CLI commands and options


  • styleguidist server: Run dev server.
  • styleguidist build: Generate a static HTML style guide.


Option Description
--config <file> Specify path to a config file
--open Open Styleguidist in the default browser
--verbose Print debug information


Add these commands into your package.json’s scripts section:

  "scripts": {
    "styleguide": "styleguidist server",
    "styleguide:build": "styleguidist build"

Or run them directly from your terminal:

npx styleguidist server
npx styleguidist build

Note: npx is a part of npm and will run locally-installed styleguidist package.