From f0b34ab2741dffb5c2bbd04b280c6017075194ea Mon Sep 17 00:00:00 2001 From: mediadivision Date: Fri, 30 Nov 2018 12:35:39 +0100 Subject: [PATCH 1/2] adapt docs to styleguide integration --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 25dabc03d..612c930ba 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ ``` bash # install all dependencies $ cd styleguide && yarn install && cd .. -$ yarn run styleguide:build $ yarn install ``` @@ -22,6 +21,7 @@ $ yarn dev ### Build for production ``` bash # build for production and launch server +$ yarn styleguide:build $ yarn build $ yarn start ``` @@ -35,10 +35,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 -``` +``` \ No newline at end of file From 4ba0e82b7108f0307cb60644961d50ab45a4d55e Mon Sep 17 00:00:00 2001 From: mediadivision Date: Fri, 30 Nov 2018 15:06:21 +0100 Subject: [PATCH 2/2] adapt docs to styleguide integration --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 612c930ba..4f9391634 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ ``` bash # install all dependencies $ cd styleguide && yarn install && cd .. +$ yarn styleguide:build $ yarn install ```