storybook/docs/snippets/common/storybook-preview-import-global-styles.ts.mdx
2023-05-11 21:46:39 +01:00

15 lines
278 B
Plaintext

```ts
// .storybook/preview.ts
// Replace your-framework with the framework you are using (e.g., react, vue3)
import { Preview } from '@storybook/your-framework';
import '../src/styles/global.css';
const preview: Preview = {
parameters: {},
};
export default preview;
```