From 114984c729cc19cc9f6999b8ae2c6d1a021fa22c Mon Sep 17 00:00:00 2001 From: marcsello Date: Mon, 9 Aug 2021 16:15:55 +0200 Subject: [PATCH] Added new views --- src/components/Navbar.vue | 3 +++ src/router/index.js | 18 ++++++++++++++++++ src/views/Models.vue | 13 +++++++++++++ src/views/Results.vue | 13 +++++++++++++ src/views/Samples.vue | 13 +++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 src/views/Models.vue create mode 100644 src/views/Results.vue create mode 100644 src/views/Samples.vue diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 8216f3b..a16a26b 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -13,7 +13,10 @@ Home + Samples Devices + Models + Results About diff --git a/src/router/index.js b/src/router/index.js index 5a9e666..9f19fe2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,6 +2,9 @@ import Vue from 'vue' import VueRouter from 'vue-router' import Home from '../views/Home.vue' import Devices from '../views/Devices.vue' +import Samples from "@/views/Samples"; +import Models from "@/views/Models"; +import Results from "@/views/Results"; Vue.use(VueRouter) @@ -11,11 +14,26 @@ const routes = [ name: 'Home', component: Home }, + { + path: '/samples', + name: 'Samples', + component: Samples + }, { path: '/devices', name: 'Devices', component: Devices }, + { + path: '/models', + name: 'Models', + component: Models + }, + { + path: '/results', + name: 'Results', + component: Results + }, { path: '/about', name: 'About', diff --git a/src/views/Models.vue b/src/views/Models.vue new file mode 100644 index 0000000..5987e4f --- /dev/null +++ b/src/views/Models.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/views/Results.vue b/src/views/Results.vue new file mode 100644 index 0000000..956cf9b --- /dev/null +++ b/src/views/Results.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/views/Samples.vue b/src/views/Samples.vue new file mode 100644 index 0000000..41e2a16 --- /dev/null +++ b/src/views/Samples.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file