Add Project view
This commit is contained in:
parent
cae2eba604
commit
df96357eec
|
@ -1,5 +1,6 @@
|
|||
import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import Project from '@/views/Project'
|
||||
import Projects from '@/views/Projects'
|
||||
|
||||
Vue.use(Router)
|
||||
|
@ -12,6 +13,11 @@ export default new Router({
|
|||
path: '/',
|
||||
name: 'projects',
|
||||
component: Projects
|
||||
},
|
||||
{
|
||||
path: '/project/{id}',
|
||||
name: 'project',
|
||||
component: Project
|
||||
}
|
||||
]
|
||||
})
|
||||
|
|
3
src/views/Project.vue
Normal file
3
src/views/Project.vue
Normal file
|
@ -0,0 +1,3 @@
|
|||
<template>
|
||||
<div>Project</div>
|
||||
</template>
|
Loading…
Reference in a new issue