mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-10 00:12:22 +08:00
28 lines
584 B
Markdown
28 lines
584 B
Markdown
```js filename=".storybook/main.js" renderer="react" language="js"
|
|
export default {
|
|
// ...
|
|
addons: [
|
|
// ...
|
|
// 👇 These can both be removed
|
|
// 'storybook-addon-next',
|
|
// 'storybook-addon-next-router',
|
|
],
|
|
};
|
|
```
|
|
|
|
```ts filename=".storybook/main.ts" renderer="react" language="ts"
|
|
import { StorybookConfig } from '@storybook/experimental-nextjs-vite';
|
|
|
|
const config: StorybookConfig = {
|
|
// ...
|
|
addons: [
|
|
// ...
|
|
// 👇 These can both be removed
|
|
// 'storybook-addon-next',
|
|
// 'storybook-addon-next-router',
|
|
],
|
|
};
|
|
|
|
export default config;
|
|
```
|