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