storybook/docs/snippets/common/storybook-storyloading-with-directory.js.mdx
2021-11-06 03:20:29 +00:00

9 lines
214 B
Plaintext

```js
// .storybook/main.js
module.exports = {
// 👇 Storybook will load all existing stories within the MyStories folder
stories: ['../packages/MyStories'],
addons: ['@storybook/addon-essentials'],
};
```