mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 08:11:07 +08:00
9 lines
287 B
Plaintext
9 lines
287 B
Plaintext
```js
|
|
// .storybook/main.js
|
|
|
|
module.exports = {
|
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
|
|
staticDirs: ['../public'], //👈 Configures the static asset folder in Storybook
|
|
};
|
|
``` |