text: import Vue from 'vue'
  import Router from 'vue-router'
  
  import Index from '@/components/Index'
  import NotFound from '@/components/NotFound'
  
  Vue.use(Router)
  
  export default new Router({
    routes: [
      {
        path: '/',
        name: 'Index',
        component: Index,
        props: true
      },
      {
        path: '/404',
        name: '404',
        component: NotFound
      },
      {
        path: '*',
        redirect: '/404'
      }
    ]
  })
  