tornado-initiation-ui/components/Steps.vue

20 lines
320 B
Vue
Raw Normal View History

2020-10-12 19:41:52 +02:00
<template>
<div class="steps">
<step v-for="(step, index) in steps" :key="index" :data="step" />
</div>
</template>
<script>
import Step from '@/components/Step'
2020-10-21 21:45:22 +02:00
import { mapState } from 'vuex'
2020-10-12 19:41:52 +02:00
export default {
components: {
Step,
},
2020-10-21 21:45:22 +02:00
computed: {
...mapState('steps', ['steps']),
2020-10-12 19:41:52 +02:00
},
}
</script>