Add Project view

This commit is contained in:
Oliver Davies 2019-04-28 13:55:05 +02:00
parent cae2eba604
commit df96357eec
2 changed files with 9 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
<template>
<div>Project</div>
</template>