```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
```