From df96357eecf1b0de125c3422b70a6c76f8d55e7e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 28 Apr 2019 13:55:05 +0200 Subject: [PATCH] Add Project view --- src/router.js | 6 ++++++ src/views/Project.vue | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 src/views/Project.vue diff --git a/src/router.js b/src/router.js index 37ff790..2891289 100644 --- a/src/router.js +++ b/src/router.js @@ -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 } ] }) diff --git a/src/views/Project.vue b/src/views/Project.vue new file mode 100644 index 0000000..64443c0 --- /dev/null +++ b/src/views/Project.vue @@ -0,0 +1,3 @@ +