import Vue from 'vue'
import Router from 'vue-router'

import List from '../components/list'

Vue.use(Router)

export default new Router({
  routes: [{
    name: 'home',
    path: '/',
    redirect: 'queue/inactive',
  }, {
    name: 'queue',
    path: '/queue/:state',
    component: List
  }]
})
