storybook/docs/snippets/common/storybook-client-preview.ts.mdx
2020-10-07 12:23:34 +08:00

10 lines
207 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
```