storybook/docs/snippets/common/storybook-client-preview.ts.mdx
2022-04-04 10:36:30 -04:00

13 lines
203 B
Plaintext

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