Update theming.md

Add a note to remove the CLI flag `--no-manager-cache` when finished developing the custom theme
This commit is contained in:
Mark Chambers 2021-03-24 11:13:32 +13:00 committed by GitHub
parent 4e91e63010
commit 2b5bc027b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`.
<!-- prettier-ignore-start -->