import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Help from '@/components/Help'
import Credits from '@/components/Credits'
import Settings from '@/components/Settings'
import ShowManager from '@/components/ShowManager'
import FileManager from '@/components/FileManager'
import EmissionManager from '@/components/EmissionManager'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', alias: '/home', name: 'home', component: Home },
    { path: '/shows', name: 'shows', component: ShowManager },
    { path: '/files', name: 'files', component: FileManager },
    { path: '/emissions', name: 'emissions', component: EmissionManager },
    { path: '/help', name: 'help', component: Help },
    { path: '/settings', name: 'settings', component: Settings },
    { path: '/credits', name: 'credits', component: Credits },
  ]
})