mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
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:
parent
4e91e63010
commit
2b5bc027b6
@ -113,6 +113,8 @@ Now your custom theme will replace Storybook's default theme and you'll see a si
|
||||
|
||||

|
||||
|
||||
**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 -->
|
||||
@ -239,4 +241,4 @@ Or with template literals:
|
||||
]}
|
||||
/>
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user