From ce2b83a29c2bdad5b8eb586f110115505954394d Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 8 Sep 2018 23:33:23 +0200 Subject: [PATCH] Added List detail view --- src/components/lists/ShowList.vue | 70 +++++++++++++++++++++++++++++++ src/router/index.js | 7 ++++ 2 files changed, 77 insertions(+) create mode 100644 src/components/lists/ShowList.vue diff --git a/src/components/lists/ShowList.vue b/src/components/lists/ShowList.vue new file mode 100644 index 00000000..0da38a76 --- /dev/null +++ b/src/components/lists/ShowList.vue @@ -0,0 +1,70 @@ + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index e291fcda..997781f4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,6 +5,8 @@ import HomeComponent from '@/components/Home' // User Handling import LoginComponent from '@/components/user/Login' import RegisterComponent from '@/components/user/Register' +// List Handling +import ShowListComponent from '@/components/lists/ShowList' Vue.use(Router) @@ -24,6 +26,11 @@ export default new Router({ path: '/register', name: 'register', component: RegisterComponent + }, + { + path: '/lists/:id', + name: 'showList', + component: ShowListComponent } ] }) \ No newline at end of file