2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-08 23:42:23 +03:00

Use provide/inject to register tabs for layout flexibility

This commit is contained in:
cristijora
2017-11-22 18:59:05 +02:00
parent 9cf6ade15b
commit a8d1f6150f
4 changed files with 43 additions and 10 deletions
-2
View File
@@ -7,8 +7,6 @@
<form-wizard @on-complete="onComplete"
@on-change="handleChange"
:start-index.sync="activeIndex"
layout="vertical"
steps-classes="steps-size"
color="#e74c3c">
<tab-content v-for="tab in tabs" :title="tab" :key="tab">{{tab}}</tab-content>
<transition name="fade" mode="out-in">