Guest User

Untitled

a guest
May 22nd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. import Vue from 'vue';
  2. import VueRouter from 'vue-router';
  3.  
  4. Vue.use(VueRouter);
  5. Vue.use(VueEvents);
  6.  
  7. const routes = [
  8. {
  9. name: 'lease_wrap_create',
  10. path: '/lease',
  11. component: 'lease/Lease',
  12. redirect: {
  13. name: 'lease_step1',
  14. },
  15. children: [
  16. {
  17. path: 'step1',
  18. component: LeaseTypes,
  19. name: 'lease_step1',
  20. meta: {
  21. step: 1,
  22. },
  23. },
  24. {
  25. path: 'step2',
  26. component: LeaseInfo,
  27. name: 'lease_step2',
  28. meta: {
  29. step: 2,
  30. },
  31. },
  32. {
  33. path: 'step3',
  34. component: LeaseContent,
  35. name: 'lease_step3',
  36. meta: {
  37. step: 3,
  38. },
  39. },
  40. ],
  41. }
  42. ]
Add Comment
Please, Sign In to add comment