mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
26 lines
611 B
Plaintext
26 lines
611 B
Plaintext
```js
|
|
// .storybook/main.js
|
|
|
|
module.exports = {
|
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-actions',
|
|
'@storybook/addon-viewport',
|
|
{
|
|
name: '@storybook/addon-docs',
|
|
options: {
|
|
configureJSX: true,
|
|
babelOptions: {},
|
|
sourceLoaderOptions: null,
|
|
transcludeMarkdown: true,
|
|
},
|
|
},
|
|
'@storybook/addon-controls',
|
|
'@storybook/addon-backgrounds',
|
|
'@storybook/addon-toolbars',
|
|
'@storybook/addon-measure',
|
|
'@storybook/addon-outline',
|
|
],
|
|
};
|
|
``` |