storybook/docs/snippets/common/storybook-client-globals-example-file.ts.mdx
2020-08-11 01:11:41 +01:00

6 lines
110 B
Plaintext

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