text: import Vue from 'vue';
  import VueRouter from 'vue-router';
  import Index from '../components/web/Index.vue';
  import About from '../components/web/About.vue';
  import Contact from '../components/web/Contact.vue';
  import ChatRooms from '../components/chats/Index.vue';
  
  Vue.use(VueRouter);
  
  export default new VueRouter({
    mode: 'history',
    routes: [
      { path: '/', component: Index },
      { path: '/about', component: About },
      { path: '/contact', component: Contact },
      { path: '/chats', component: ChatRooms },
    ],
  });