somascope
4/12/2018 - 3:10 AM

Vue Router Setup

import Vue from 'vue'
import Router from 'vue-router'
import Skills from './components/Skills.vue'
import About from './components/About.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'skills',
      component: Skills
    },
    {
      path: '/about/',
      name: 'about',
      component: About
    }
  ]
})