{"size": 1123, "ext": "js", "max_stars_repo_path": "resources/js/router/index.js", "max_stars_repo_name": "MdEahiaMondal/real-time-forum", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/js/router/index.js", "max_issues_repo_name": "MdEahiaMondal/real-time-forum", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/js/router/index.js", "max_forks_repo_name": "MdEahiaMondal/real-time-forum", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.1886792453, "max_line_length": 62, "alphanum_fraction": 0.5048975957}

import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)


const routes = [
    {
        path: '/login',
        name: 'login',
        component: () => import('../views/auth/Login')
    },
    {
        path: '/register',
        name: 'register',
        component: () => import('../views/auth/Register')
    },
    {
        path: '/logout',
        name: 'logout',
        component: () => import('../views/auth/Logout')
    },
    {
        path: '/forum',
        name: 'forum',
        component: () => import('../views/forum/Forum')
    },
    {
        path: '/questions/:slug',
        name: 'question-show',
        component: () => import('../views/forum/QuestionShow')
    },
    {
        path: '/questions/create',
        name: 'question-create',
        component: () => import('../views/question/Create')
    },
    {
        path: '/categories/create',
        name: 'categories-create',
        component: () => import('../views/categories/Create')
    },

]

const router = new VueRouter({
    routes, // short for `routes: routes`
    mode: 'history'
})

export  default router;
