From 2b5bc027b6a976a28823cf3594b7e6d7eb0deca5 Mon Sep 17 00:00:00 2001 From: Mark Chambers Date: Wed, 24 Mar 2021 11:13:32 +1300 Subject: [PATCH] Update theming.md Add a note to remove the CLI flag `--no-manager-cache` when finished developing the custom theme --- docs/configure/theming.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/configure/theming.md b/docs/configure/theming.md index 7083ce5a117..98165c5d7a0 100644 --- a/docs/configure/theming.md +++ b/docs/configure/theming.md @@ -113,6 +113,8 @@ Now your custom theme will replace Storybook's default theme and you'll see a si ![Storybook starter theme](./storybook-starter-custom-theme.png) +**Note:** Once you're finished configuring the theme, remove the flag `--no-manager-cache` from the `storybook` script, otherwise loading times can be severely impacted. + Let's take a look at more complex example. Copy the code below and paste it in `.storybook/YourTheme.js`. @@ -239,4 +241,4 @@ Or with template literals: ]} /> - \ No newline at end of file +