Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Vue from 'vue'
import Router from 'vue-router'
import People from './views/People.vue'
Vue.use(Router)
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '/',
name: 'people',
component: People
},
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.