import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

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

import Vue from 'vue'
import Router from 'vue-router'
import ResumePage from '@/views/ResumePage'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'ResumePage',
      component: ResumePage
    },
    {
      path: '/:lang'
    }
  ]
})

Fix router