import Vue from 'vue'
import Router from 'vue-router'
import ContentManagement from '@/containers/ContentManagement'
import AdsPlatform from '@/containers/AdsPlatform'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      redirect: '/content'
    }, {
      path: '/content',
      name: 'ContentManagement',
      component: ContentManagement
    }, {
      path: '/ads',
      name: 'AdsPlatform',
      component: AdsPlatform
    }
  ]
})
