Skip to content
Snippets Groups Projects
Select Git revision
  • 730352bea21a10bc754ad68bf2d917822a5dc475
  • master default protected
  • JH0026
  • KJ04
  • JH0025
  • haram0003
  • haram0002
  • KJ03
  • JH0024
  • KJ01
  • JH0023
  • style
  • attractionlist
  • makeplan
  • JH0020
  • modal_style
  • mypage_style
  • mainpage_style
  • attractionlist_style
  • attractionlist04
  • JH0016
21 results

index.js

Blame
  • index.js 1.28 KiB
    import Vue from 'vue'
    import Router from 'vue-router'
    import RouterTest from '@/components/RouterTest'
    import MainPage from '@/views/MainPage'
    import Login from '@/views/LogIn'
    import MyPage from '@/views/MyPage'
    import AttractionList from '../views/AttractionList'
    import MakePlan from '@/views/MakePlan'
    import SharePlan from '@/views/SharePlan'
    import SignUp from '@/views/SignUp'
    import ConfirmPlan from '@/views//ConfirmPlan'
    
    Vue.use(Router)
    
    export default new Router({
      mode: 'history',
      routes: [
        {
          path: '/',
          name: 'MainPage',
          component: MainPage
        },
        {
          path: '/routertest',
          component: RouterTest,
          props: true
        },
        {
          path: '/login',
          name: 'LogIn',
          component: Login
        },
        {
          path: '/mypage',
          name: 'MyPage',
          component: MyPage
        },
        {
          path: '/attractionlist',
          name: 'AttractionList',
          component: AttractionList
        },
        {
          path: '/makeplan',
          name: 'MakePlan',
          component: MakePlan
        },
        {
          path: '/shareplan',
          name: 'SharePlan',
          component: SharePlan
        },
        {
          path: '/signup',
          name: 'SignUp',
          component: SignUp
        },
        {
          path: '/confirmplan',
          name: 'ConfirmPlan',
          component: ConfirmPlan
        }
      ]
    })