diff --git a/dev-example/App.vue b/dev-example/App.vue index 10c088e..911c3ee 100644 --- a/dev-example/App.vue +++ b/dev-example/App.vue @@ -20,6 +20,13 @@
{{error}}
+ diff --git a/src/components/FormWizard.vue b/src/components/FormWizard.vue index c76d43e..501d697 100644 --- a/src/components/FormWizard.vue +++ b/src/components/FormWizard.vue @@ -35,7 +35,6 @@ :style="tab.active ? stepTitleStyle : {}"> {{tab.title}} - @@ -46,44 +45,55 @@ + diff --git a/src/index.js b/src/index.js index 3ad4f9d..71d5a0f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,9 +1,11 @@ import FormWizard from './components/FormWizard.vue' import TabContent from './components/TabContent.vue' +import WizardButton from './components/WizardButton.vue' const VueFormWizard = { install (Vue) { Vue.component('form-wizard', FormWizard) Vue.component('tab-content', TabContent) + Vue.component('wizard-button', WizardButton) } } // Automatic installation if Vue has been added to the global scope. @@ -14,5 +16,6 @@ if (typeof window !== 'undefined' && window.Vue) { export default VueFormWizard export { FormWizard, - TabContent + TabContent, + WizardButton }