mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-10 00:12:22 +08:00
26 lines
479 B
Markdown
26 lines
479 B
Markdown
```js filename=".storybook/main.js" renderer="react" language="js"
|
|
export default {
|
|
framework: {
|
|
name: '@storybook/react-webpack5',
|
|
options: {
|
|
// ...
|
|
},
|
|
},
|
|
};
|
|
```
|
|
|
|
```ts filename=".storybook/main.ts" renderer="react" language="ts"
|
|
import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
|
|
const config: StorybookConfig = {
|
|
framework: {
|
|
name: '@storybook/react-webpack5',
|
|
options: {
|
|
// ...
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|
|
```
|