Created
December 11, 2018 19:14
-
-
Save tygerbytes/df7c59070b2e73815e0b5036a163b19e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue'; | |
import Router from 'vue-router'; | |
import RunbyPace from '@/components/RunbyPace.vue'; | |
import TargetPace from '@/components/TargetPace.vue'; | |
import About from '@/components/About.vue'; | |
Vue.use(Router); | |
export default new Router({ | |
mode: 'history', | |
routes: [{ | |
path: '/', | |
name: 'Home', | |
component: RunbyPace, | |
}, { | |
path: '/targetPace/:fiveKmRaceTime&:runTypeCode', | |
name: 'targetPace', | |
component: TargetPace, | |
props: true, | |
}, { | |
path: '/about', | |
name: 'About', | |
component: About, | |
}], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment