{"size": 1040, "ext": "js", "max_stars_repo_path": "resources/js/router.js", "max_stars_repo_name": "s-yoshi210/profile", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/js/router.js", "max_issues_repo_name": "s-yoshi210/profile", "max_issues_repo_issues_event_min_datetime": "2021-02-02T19:04:44.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-13T19:35:20.000Z", "max_forks_repo_path": "resources/js/router.js", "max_forks_repo_name": "s-yoshi210/profile", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 19, "max_forks_count": null, "avg_line_length": 25.3658536585, "max_line_length": 63, "alphanum_fraction": 0.5375}
import Vue from 'vue'
import Router from 'vue-router'
import Home from './components/page/Home'
import Skill from './components/page/Skill'
import ActualResults from './components/page/ActualResults'
import Development from './components/page/Development'
import Contact from './components/page/Contact'

Vue.use(Router)

export default new Router({
    mode: 'history', // SPAのURLにはhistoryモード(#ハッシュが付かないタイプを使います)
    routes: [
        {
            path: '/',
            name: 'home',
            component: Home // URL「/」に対してHomeコンポーネントを使うという意味です
        },
        {
            path: '/skill',
            name: 'skill',
            component: Skill
        },
        {
            path: '/actual_results',
            name: 'actual_results',
            component: ActualResults
        },
        {
            path: '/development',
            name: 'development',
            component: Development
        },
        {
            path: '/contact',
            name: 'contact',
            component: Contact
        },
    ]
})
