mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
* Update Storybook UI * Setup channel for preview * Load addons from user or load default addons * Allow easy importing default set of addons For an example addons.js: ```js import '@kadira/storybook/addons'; import '@kadira/storybook-addon-hello/register'; ``` * Export correct action, linkTo functions * Rename pageBus to channel * Fix tests and lint errors * Update some comments.
5 lines
218 B
JavaScript
5 lines
218 B
JavaScript
// We are not using this file inside this project.
|
|
// But, this will be useful when a user is configuring it's own addons.
|
|
// Then he can import this file to add default set of addons.
|
|
require('./dist/server/addons');
|