Merge pull request #64 from Human-Connection/adapt-styleguide-docs

adapt docs to styleguide integration
This commit is contained in:
Grzegorz Leoniec 2018-11-30 15:45:24 +01:00 committed by GitHub
commit 20fcac8567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
``` bash
# install all dependencies
$ cd styleguide && yarn install && cd ..
$ yarn run styleguide:build
$ yarn styleguide:build
$ yarn install
```
@ -22,6 +22,7 @@ $ yarn dev
### Build for production
``` bash
# build for production and launch server
$ yarn styleguide:build
$ yarn build
$ yarn start
```
@ -35,10 +36,4 @@ All reusable Components (for example avatar) should be done inside the styleguid
### To show the styleguide
``` bash
$ yarn styleguide
```
if you changed design tokens or other styles inside the styleguide, run the refresh command to build the styleguide as a lib
``` bash
$ yarn styleguide:build
```
```