mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 06:31:27 +08:00
23 lines
506 B
Plaintext
23 lines
506 B
Plaintext
```js
|
|
// .storybook/main.js|ts
|
|
|
|
module.exports = {
|
|
stories: [
|
|
//👇 Changes the load order of our stories. First loads the Changelog page
|
|
'../src/Changelog.stories.mdx',
|
|
'../stories/**/*.stories.mdx',
|
|
'../stories/**/*.stories.@(js|jsx|ts|tsx)'
|
|
],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
{
|
|
name: '@storybook/addon-docs',
|
|
options: {
|
|
transcludeMarkdown: true, //👈 Set transcludeMarkdown to true
|
|
},
|
|
},
|
|
],
|
|
};
|
|
```
|