Skip to content

Commit 2395d97

Browse files
committed
fix the mdx story
1 parent eddbb15 commit 2395d97

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.storybook/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ module.exports = {
55
'../stories/**/*.story.ts',
66
'../packages/**/*.story.mdx',
77
'../stories/**/*.story.mdx',
8+
'../packages/**/*.mdx',
9+
'../stories/**/*.mdx',
810
],
911
addons: [
1012
'@storybook/addon-essentials',
@@ -17,9 +19,6 @@ module.exports = {
1719
name: '@storybook/web-components-vite',
1820
options: {},
1921
},
20-
features: {
21-
storyStoreV7: true,
22-
},
2322
staticDirs: ['./images'],
2423
async viteFinal(config, { configType }) {
2524
// customize the Vite config here

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"@storybook/addon-essentials": "7.0.7",
7070
"@storybook/addon-links": "7.0.7",
7171
"@storybook/addon-mdx-gfm": "^7.0.7",
72+
"@storybook/blocks": "^7.0.7",
7273
"@storybook/web-components": "7.0.7",
7374
"@storybook/web-components-vite": "^7.0.7",
7475
"@types/chai": "4.3.4",

packages/uui-modal/lib/uui-modal.story.mdx renamed to packages/uui-modal/lib/uui-modal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs';
1+
import { Meta } from '@storybook/addon-docs/blocks';
22

33
<Meta title="Layout/Modals/Documentation" />
44

0 commit comments

Comments
 (0)