Guest User

Untitled

a guest
Dec 11th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. import Vue from 'vue';
  2. import Router from 'vue-router';
  3.  
  4. import RunbyPace from '@/components/RunbyPace.vue';
  5. import TargetPace from '@/components/TargetPace.vue';
  6. import About from '@/components/About.vue';
  7.  
  8. Vue.use(Router);
  9.  
  10. export default new Router({
  11. mode: 'history',
  12. routes: [{
  13. path: '/',
  14. name: 'Home',
  15. component: RunbyPace,
  16. }, {
  17. path: '/targetPace/:fiveKmRaceTime&:runTypeCode',
  18. name: 'targetPace',
  19. component: TargetPace,
  20. props: true,
  21. }, {
  22. path: '/about',
  23. name: 'About',
  24. component: About,
  25. }],
  26. });
Add Comment
Please, Sign In to add comment