mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:21:27 +08:00
Update index.md
Storybook need to be restarted when the addon file is created. Otherwise it will be ignored and no panel will be displayed.
This commit is contained in:
parent
19352c705b
commit
09e3be1eaa
@ -22,6 +22,8 @@ import '@storybook/addon-actions/register';
|
||||
import '@storybook/addon-links/register';
|
||||
import '@storybook/addon-notes/register';
|
||||
```
|
||||
Once created, youl'll have to restart storybook to make the underlying webpack aware of the addons file.
|
||||
|
||||
|
||||
This will register all the addons and you'll be able to see the actions and notes panels (in that order) when you are viewing the story. (Links do not register a tab--check individual addon docs to see which Storybook features they use!)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user