storybook/docs/snippets/vue/storybook-testing-addon-optional-config.2.js.mdx

10 lines
226 B
Plaintext

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