<template>
<Stories>
<Story
v-for="(argument, key) of arguments"
:title="'Story ' + key"
>
<MyComponent :argument="argument" />
</Story>
</Stories>
</template>
<script lang="ts" setup>
import MyComponent from './MyComponent.vue'
const arguments = ["hello", "world"]
</script>
Example of how this may look:
This is currently blocked by storybookjs/storybook#9828.
Once this is implemented, add https://storybook.js.org/docs/vue/writing-stories/introduction#using-args as example.