fbredius/storybook

View on GitHub
docs/snippets/vue/your-component-with-decorator.mdx.mdx

Summary

Maintainability
Test Coverage
```md
<!-- YourComponent.stories.mdx -->

import { Meta } from '@storybook/addon-docs';

import YourComponent from './YourComponent.vue';

<Meta
  title="YourComponent"
  component={YourComponent}
  decorators={[
    () => ({
      template: '<div style="margin: 3em;"><story /></div>',
    }),
  ]}
/>
```