storybook/docs/snippets/vue/storybook-testing-addon-optional-config.3.js.mdx
2022-11-17 16:33:22 +01:00

11 lines
228 B
Plaintext

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