Added basic routing

This commit is contained in:
Sagi Frimer
2019-03-14 22:48:25 +02:00
parent 1e9a471ae2
commit 6863af482c
7 changed files with 60 additions and 27 deletions

View File

@@ -0,0 +1,22 @@
<template>
<div id="3D">
<Slider v-for="slider in sliders" v-bind:key="slider.id" v-model="slider.value"></Slider>
</div>
</template>
<script>
export default {
name: '3D',
data () {
return {
sliders: [
{ id: 'lightning', value: 25 }
]
}
}
}
</script>
<style scoped>
</style>

View File

@@ -1,8 +0,0 @@
<template>
</template>
<script>
export default {
}
</script>

View File

@@ -1,14 +0,0 @@
<template>
<div id="vision">
<nav class="nav">
<router-link to="/input"><a>Input</a></router-link>
</nav>
<router-view></router-view>
</div>
</template>
<script>
export default {
name: 'Vision'
}
</script>