storybook/docs/snippets/vue/storybook-testing-addon-optional-config.3.js.mdx
2022-04-29 20:37:36 +01:00

10 lines
227 B
Plaintext

```js
// setupFile.js
import { setGlobalConfig } from '@storybook/testing-vue3';
// Storybook's preview file location
import * as globalStorybookConfig from './.storybook/preview';
setGlobalConfig(globalStorybookConfig);
```