{"size": 858, "ext": "js", "max_stars_repo_path": "src/renderer/router/index.js", "max_stars_repo_name": "sanqi377/bilibibli", "max_stars_repo_stars_event_min_datetime": "2021-08-09T13:24:36.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-10T06:05:03.000Z", "max_issues_repo_path": "src/renderer/router/index.js", "max_issues_repo_name": "sanqi377/bilibibli", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/renderer/router/index.js", "max_forks_repo_name": "sanqi377/bilibibli", "max_forks_repo_forks_event_min_datetime": "2021-08-12T06:02:35.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-12T06:02:35.000Z"}
{"max_stars_count": 7, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 22.5789473684, "max_line_length": 57, "alphanum_fraction": 0.4137529138}
import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            name: 'index',
            component: require('@/pages/index').default
        },
        {
            path: '/barrage',
            name: 'barrage',
            component: require('@/pages/barrage').default
        },
        {
            path: '/welcome',
            name: 'welcome',
            component: require('@/pages/welcome').default
        },
        {
            path: '/music',
            name: 'music',
            component: require('@/pages/music').default
        },
        {
            path: '/focus',
            name: 'focus',
            component: require('@/pages/focus').default
        },
        {
            path: '*',
            redirect: '/'
        }
    ]
})