mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge pull request #17905 from josh-degraw/next
docs: Fix reference to essentials configuration
This commit is contained in:
commit
3e1874a82d
@ -32,7 +32,7 @@ Update your Storybook configuration (in [`.storybook/main.js`](../configure/over
|
|||||||
|
|
||||||
<CodeSnippets
|
<CodeSnippets
|
||||||
paths={[
|
paths={[
|
||||||
'common/storybook-main-register-individual-actions-addon.js.mdx',
|
'common/storybook-main-register-essentials-addon.js.mdx',
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
```js
|
||||||
|
// .storybook/main.js
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
||||||
|
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
|
||||||
|
};
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user