mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
CLI: MDX configuration fixes
This commit is contained in:
parent
57d73317e8
commit
08458640a4
@ -1,4 +1,4 @@
|
||||
import { configure } from '@storybook/angular';
|
||||
|
||||
// automatically import all files ending in *.stories.ts
|
||||
configure(require.context('../src/stories', true, /\.stories\.ts$/), module);
|
||||
configure(require.context('../src/stories', true, /\.stories\.(ts|mdx)$/), module);
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { configure } from '@storybook/html';
|
||||
|
||||
// automatically import all files ending in *.stories.js
|
||||
configure(require.context('../stories', true, /\.stories\.js$/), module);
|
||||
configure(require.context('../stories', true, /\.stories\.(js|mdx)$/), module);
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { configure } from '@storybook/react';
|
||||
|
||||
// automatically import all files ending in *.stories.js
|
||||
configure(require.context('../stories', true, /\.stories\.js$/), module);
|
||||
configure(require.context('../stories', true, /\.stories\.(js|mdx)$/), module);
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { configure } from '@storybook/vue';
|
||||
|
||||
// automatically import all files ending in *.stories.js
|
||||
configure(require.context('../src/stories', true, /\.stories\.js$/), module);
|
||||
configure(require.context('../src/stories', true, /\.stories\.(js|mdx)$/), module);
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { configure } from '@storybook/vue';
|
||||
|
||||
// automatically import all files ending in *.stories.js
|
||||
configure(require.context('../stories', true, /\.stories\.js$/), module);
|
||||
configure(require.context('../stories', true, /\.stories\.(js|mdx)$/), module);
|
||||
|
@ -0,0 +1 @@
|
||||
module.exports = ['@storybook/addon-docs/vue/preset'];
|
@ -1,4 +1,4 @@
|
||||
import { configure } from '@storybook/react';
|
||||
|
||||
// automatically import all files ending in *.stories.js
|
||||
configure(require.context('../stories', true, /\.stories\.js$/), module);
|
||||
configure(require.context('../stories', true, /\.stories\.(js|mdx)$/), module);
|
||||
|
Loading…
x
Reference in New Issue
Block a user