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 @@ +