mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-20 11:10:33 +03:00
Rename to form-wizard
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<tab-wizard @on-complete="onComplete"
|
||||
<form-wizard @on-complete="onComplete"
|
||||
shape="circle"
|
||||
color="#e74c3c"
|
||||
class="card">
|
||||
@@ -17,7 +17,7 @@
|
||||
Yuhuuu! This seems pretty damn simple
|
||||
</tab-content>
|
||||
|
||||
</tab-wizard>
|
||||
</form-wizard>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
module.exports = {
|
||||
|
||||
TabWizard: require('./components/TabWizard.vue'),
|
||||
FormWizard: require('./components/FormWizard.vue'),
|
||||
TabContent: require('./components/TabContent.vue'),
|
||||
|
||||
install (Vue) {
|
||||
Vue.component('tab-wizard', module.exports.TabWizard)
|
||||
Vue.component('form-wizard', module.exports.FormWizard)
|
||||
Vue.component('tab-content', module.exports.TabContent)
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import TabWizard from './index'
|
||||
Vue.use(TabWizard)
|
||||
import FormWizard from './index'
|
||||
Vue.use(FormWizard)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user