Skip to content

Commit

Permalink
Setup of routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtomes123 committed Jul 26, 2018
1 parent dff61f3 commit 39ebb51
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/router/index.js
@@ -1,15 +1,13 @@
import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Main from '@/components/Main'

Vue.use(Router)

export default new Router({
routes: [
{
path: '/',
name: 'HelloWorld',
component: HelloWorld
}
]
routes: [{
path: '/',
name: 'Main',
component: Main
}]
})

0 comments on commit 39ebb51

Please sign in to comment.