storybook/docs/snippets/common/storybook-client-preview.ts.mdx
2021-05-06 21:05:56 +01:00

13 lines
210 B
Plaintext

```ts
// your-framework/src/client/preview/index.ts
import { start } from '@storybook/core/client';
import './globals';
import render from './render';
const api = start(render);
// the boilerplate code
```