mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 02:31:05 +08:00
15 lines
274 B
Plaintext
15 lines
274 B
Plaintext
```js
|
|
// .storybook/main.js
|
|
|
|
module.exports = {
|
|
stories: [{ directory: '../src', titlePrefix: 'Custom' }],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
'@storybook/addon-interactions',
|
|
],
|
|
core: {
|
|
builder: 'webpack5',
|
|
},
|
|
};
|
|
``` |