storybook/docs/snippets/common/storybook-client-preview.ts.mdx
Michael Shilman 25bbfcd9b3 Fix snippet
2022-04-12 17:05:35 +08: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
```