JSFiddle - React, Tailwind, and code Playground

by Roman Joseph Rimorin

HTML

<script src="https://vuejs.org/js/vue.min.js"></script>
<link rel="stylesheet" href="https://rawgit.com/lykmapipo/themify-icons/master/css/themify-icons.css">
<script src="https://rawgit.com/cristijora/vue-form-wizard/master/dist/vue-form-wizard.js"></script>
<link rel="stylesheet" href="https://rawgit.com/cristijora/vue-form-wizard/master/dist/vue-form-wizard.min.css">
<div id="app">
  <div>
    <form-wizard @on-complete="onComplete">
      <tab-content title="Personal details" icon="ti-user">
        My first tab content
      </tab-content>
      <tab-content title="Additional Info" icon="ti-settings">
        My second tab content
      </tab-content>
      <tab-content title="Last step" icon="ti-check">
        Yuhuuu! This seems pretty damn simple
      </tab-content>
      <template slot="footer" scope="props">
        <div class="wizard-footer-right">
          <wizard-button :style="props.fillButtonStyle">Cancel</wizard-button>
          <wizard-button @click.native="props.nextTab()" class="wizard-footer-right" :style="props.fillButtonStyle">Next</wizard-button>
                    <wizard-button @click.native="props.nextTab()" class="wizard-footer-right" :style="props.fillButtonStyle">Next</wizard-button>
        </div>

      </template>
    </form-wizard>
  </div>
</div>

JavaScript

Vue.use(VueFormWizard)
new Vue({
  el: '#app',
  methods: {
    onComplete: function() {
      alert('Yay. Done!');
    }
  }
})