• This project
    • Loading...
  • Sign in

박현우 / winrate-frontend

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • winrate-frontend
  • src
  • router
  • index.js
  • 박현우's avatar
    API connected · c29d5811
    c29d5811
    박현우 authored 2019-11-16 17:29:17 +0900
index.js 388 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import Vue from 'vue'
import Router from 'vue-router'

import FrontPage from '@/components/FrontPage'
import DetailPage from '@/components/DetailPage'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'FrontPage',
      component: FrontPage
    },
    {
      path: '/:userId',
      name: 'DetailPage',
      component: DetailPage
    }
  ]
})