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:
nlko 2018-10-27 10:05:39 +02:00 committed by GitHub
parent 19352c705b
commit 09e3be1eaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!)