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

6 lines
110 B
Plaintext

```ts
// vue/src/client/preview/globals.ts
import { window } from 'global';
window.STORYBOOK_ENV = 'vue';
```