import Vue from 'vue'
import Router from 'vue-router'
import Main from '../views/main.vue'
import brokers from '../views/brokers/brokers.vue'
import nBodyone from '../views/brokers/nBodyone.vue'
import nBodytwo from '../views/brokers/nBodytwo.vue'
import nBodythree from '../views/brokers/nBodythree.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
    	path: '/',
    	component: Main
    },
    {
    	path:'/brokers',
    	component:brokers,
            children:[
              {
                path:'/',
                component:nBodyone
              },
              {
                path:'/verify',
                component:nBodytwo
              },
              {
                path:'/success',
                component:nBodythree
              }
            ]
    }
  ]
})
