mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
22 lines
507 B
Plaintext
22 lines
507 B
Plaintext
```js
|
|
// .storybook/main.js
|
|
|
|
module.exports = {
|
|
stories: [
|
|
//👇 Your documentation written in MDX along with your stories goes here
|
|
'../src/**/*.mdx',
|
|
'../src/**/*.stories.@(js|ts)',
|
|
],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
'@storybook/addon-interactions',
|
|
],
|
|
framework: {
|
|
// Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-webpack5)
|
|
name: '@storybook/your-framework',
|
|
options: {},
|
|
},
|
|
};
|
|
```
|