Added new views
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-08-09 16:15:55 +02:00
parent 5615af8e29
commit 114984c729
5 changed files with 60 additions and 0 deletions

View File

@ -13,7 +13,10 @@
<b-collapse id="nav-text-collapse" is-nav> <b-collapse id="nav-text-collapse" is-nav>
<b-navbar-nav> <b-navbar-nav>
<b-nav-item :to="{ name: 'Home'}">Home</b-nav-item> <b-nav-item :to="{ name: 'Home'}">Home</b-nav-item>
<b-nav-item :to="{ name: 'Samples'}">Samples</b-nav-item>
<b-nav-item :to="{ name: 'Devices'}">Devices</b-nav-item> <b-nav-item :to="{ name: 'Devices'}">Devices</b-nav-item>
<b-nav-item :to="{ name: 'Models'}">Models</b-nav-item>
<b-nav-item :to="{ name: 'Results'}">Results</b-nav-item>
<b-nav-item :to="{ name: 'About'}">About</b-nav-item> <b-nav-item :to="{ name: 'About'}">About</b-nav-item>
</b-navbar-nav> </b-navbar-nav>
</b-collapse> </b-collapse>

View File

@ -2,6 +2,9 @@ import Vue from 'vue'
import VueRouter from 'vue-router' import VueRouter from 'vue-router'
import Home from '../views/Home.vue' import Home from '../views/Home.vue'
import Devices from '../views/Devices.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) Vue.use(VueRouter)
@ -11,11 +14,26 @@ const routes = [
name: 'Home', name: 'Home',
component: Home component: Home
}, },
{
path: '/samples',
name: 'Samples',
component: Samples
},
{ {
path: '/devices', path: '/devices',
name: 'Devices', name: 'Devices',
component: Devices component: Devices
}, },
{
path: '/models',
name: 'Models',
component: Models
},
{
path: '/results',
name: 'Results',
component: Results
},
{ {
path: '/about', path: '/about',
name: 'About', name: 'About',

13
src/views/Models.vue Normal file
View File

@ -0,0 +1,13 @@
<template>
<div></div>
</template>
<script>
export default {
name: "Models"
}
</script>
<style scoped>
</style>

13
src/views/Results.vue Normal file
View File

@ -0,0 +1,13 @@
<template>
<div></div>
</template>
<script>
export default {
name: "Results"
}
</script>
<style scoped>
</style>

13
src/views/Samples.vue Normal file
View File

@ -0,0 +1,13 @@
<template>
<div></div>
</template>
<script>
export default {
name: "Samples"
}
</script>
<style scoped>
</style>