{"size": 686, "ext": "js", "max_stars_repo_path": "peqes-webapp/src/plugins/router.js", "max_stars_repo_name": "vs-uulm/peqes", "max_stars_repo_stars_event_min_datetime": "2021-08-20T09:17:39.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-20T09:17:39.000Z", "max_issues_repo_path": "peqes-webapp/src/plugins/router.js", "max_issues_repo_name": "vs-uulm/peqes", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "peqes-webapp/src/plugins/router.js", "max_forks_repo_name": "vs-uulm/peqes", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.8666666667, "max_line_length": 55, "alphanum_fraction": 0.6137026239}
import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

import ResearcherView from '../views/ResearcherView';
import EthicsBoardView from '../views/EthicsBoardView';
import ParticipantView from '../views/ParticipantView';

const router = new VueRouter({
    routes: [{
        name: 'researcher',
        path: '/researcher',
        component: ResearcherView
    }, {
        name: 'ethicsboard',
        path: '/ethicsboard',
        component: EthicsBoardView
    }, {
        name: 'participant',
        path: '/participant',
        component: ParticipantView
    }, {
        path: '/',
        redirect: '/researcher'
    }]
});

export default router;
