Created
January 18, 2018 16:58
-
-
Save lmiller1990/7b50427cd5e051bd1b0e2ec81ff1ae95 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 HelloWorld from '@/components/HelloWorld' | |
import ProfileView from '@/views/profile/Index' | |
Vue.use(Router) | |
export default new Router({ | |
routes: [ | |
{ | |
path: '/', | |
name: 'HelloWorld', | |
component: HelloWorld | |
}, | |
{ | |
path: '/profile', | |
name: 'Profile', | |
component: ProfileView | |
} | |
] | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment