mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-05 05:32:24 +03:00
29 lines
646 B
JavaScript
29 lines
646 B
JavaScript
import Vue from 'vue'
|
|
import VueRouter from 'vue-router'
|
|
import App from './App.vue'
|
|
import FormWizard from './../src/index'
|
|
const First = { template: '<div>First</div>' }
|
|
const Second = { template: '<div>Second</div>' }
|
|
const Third = { template: '<div>Third</div>' }
|
|
|
|
const router = new VueRouter({
|
|
mode: 'history',
|
|
routes: [
|
|
{ path: '/first', component: First },
|
|
{ path: '/second', component: Second },
|
|
{ path: '/third', component: Third }
|
|
]
|
|
})
|
|
Vue.use(VueRouter)
|
|
Vue.use(FormWizard)
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
router,
|
|
el: '#app',
|
|
template: '<App/>',
|
|
components: {App}
|
|
})
|