mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 03:11:49 +08:00
12 lines
223 B
Plaintext
12 lines
223 B
Plaintext
```ts
|
|
// .storybook/main.ts
|
|
import { StorybookConfig } from '@storybook/react-webpack5';
|
|
|
|
const config: StorybookConfig = {
|
|
// ...
|
|
framework: '@storybook/react-webpack5', // 👈 Add this
|
|
};
|
|
|
|
export default config;
|
|
```
|