From 06386b3a78bd659cb11dafba08dab2ca56302251 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 6 May 2019 21:28:47 +0200 Subject: [PATCH] FIX build example in official storybook --- examples/official-storybook/README.md | 6 ++++++ examples/official-storybook/built-storybooks/cra-react15 | 1 + .../official-storybook/built-storybooks/preact-kitchen-sink | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 120000 examples/official-storybook/built-storybooks/cra-react15 diff --git a/examples/official-storybook/README.md b/examples/official-storybook/README.md index df6ee6f541f0..522787e7b2ec 100644 --- a/examples/official-storybook/README.md +++ b/examples/official-storybook/README.md @@ -6,3 +6,9 @@ This storybook includes stories for: - `@storybook/ui` - the UI of storybook itself - `@storybook/addon-*` - various addons. - `@storybook/other-*` - various examples. + +## How to make new `build-storybook`s: + +```sh +sudo ln -s ../../{new-example}/storybook-static /Users/{user}/{location-of-storybook-repo}/core/examples/official-storybook/built-storybooks/{new-example} +``` \ No newline at end of file diff --git a/examples/official-storybook/built-storybooks/cra-react15 b/examples/official-storybook/built-storybooks/cra-react15 new file mode 120000 index 000000000000..ada58d9daff7 --- /dev/null +++ b/examples/official-storybook/built-storybooks/cra-react15 @@ -0,0 +1 @@ +../../cra-react15/storybook-static \ No newline at end of file diff --git a/examples/official-storybook/built-storybooks/preact-kitchen-sink b/examples/official-storybook/built-storybooks/preact-kitchen-sink index 90933de3cbf6..2c1464b86d0f 120000 --- a/examples/official-storybook/built-storybooks/preact-kitchen-sink +++ b/examples/official-storybook/built-storybooks/preact-kitchen-sink @@ -1 +1 @@ -../../preact-kitchen-sink/storybook-static +../../preact-kitchen-sink/storybook-static \ No newline at end of file