router.js File Tree-based Routing

pages/
'-- index.vue

{
  name: 'index',
  path: '/',
  component: 'pages/index.vue'
}