text: // will display posting
  import Vue from 'vue'
  import Router from 'vue-router'
  import HelloWorld from '@/components/HelloWorld'
  import Posts from '@/components/Posts'
  import NewPost from '@/components/NewPost'
  
  Vue.use(Router)
  
  export default new Router({
    mode: 'history',
    routes: [
      {
        path: '/',
        name: 'HelloWorld',
        component: HelloWorld
      },
      {
        path: '/posts',
        name: 'Posts',
        component: Posts
      },
      {
        path: '/posts/new',
        name: 'NewPost',
        component: NewPost
      }
    ]
  })
  