{"size": 1588, "ext": "js", "max_stars_repo_path": "src/router/index.js", "max_stars_repo_name": "d3vkk/one-health", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/router/index.js", "max_issues_repo_name": "d3vkk/one-health", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/router/index.js", "max_forks_repo_name": "d3vkk/one-health", "max_forks_repo_forks_event_min_datetime": "2020-09-06T10:24:03.000Z", "max_forks_repo_forks_event_max_datetime": "2020-09-06T10:24:03.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 23.7014925373, "max_line_length": 70, "alphanum_fraction": 0.6064231738}
import Vue from 'vue'
import VueRouter from 'vue-router'
import LogIn from '@/components/LogIn.vue'
import SignUp from '@/components/SignUp.vue'
import Dashboard from '@/components/Dashboard.vue'
import AppointmentsEdit from '@/components/AppointmentsEdit.vue'
import PortalSearch from '@/components/PortalSearch.vue'
import PortalView from '@/components/PortalView.vue'
import PortalDocContactDoc from '@/components/PortalDocContactDoc.vue'
import PortalEditPersonal from '@/components/PortalEditPersonal.vue'
import StatsView from '@/components/StatsView.vue'
Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'portal-search',
        component: PortalSearch
    },
    {
        path: '/signup',
        name: 'sign-up',
        component: SignUp
    },
    {
        path: '/login',
        name: 'log-in',
        component: LogIn
    },
    {
        path: '/dashboard',
        name: 'dashboard',
        component: Dashboard
    },
    {
        path: '/editappointment',
        name: 'appointments-edit',
        component: AppointmentsEdit
    },
    {
        path: '/viewdata',
        name: 'portal-view',
        component: PortalView
    },
    {
        path: '/editdata',
        name: 'portal-edit-personal',
        component: PortalEditPersonal
    },
    {
        path: '/contactdoctor',
        name: 'portal-doc-contact-doc',
        component: PortalDocContactDoc
    },
    {
        path: '/stats',
        name: 'stats-view',
        component: StatsView
    }
];

const router = new VueRouter({
    routes
})

export default router
