added routes and hidden header when not needed

This commit is contained in:
ori agranat
2019-03-18 22:17:25 +02:00
parent fc7edb58dd
commit d4ca7e8698
4 changed files with 60 additions and 7 deletions

View File

@@ -1,11 +1,15 @@
import VueRouter from "vue-router";
import Input from "./components/InputTab.vue";
import ThreeD from "./components/3DTab.vue";
import System from "./components/SystemTab.vue";
import Camera from "./components/CameraTab.vue";
const routes = [
{ path: '/', redirect: '/vision/input' },
{ path: '/vision/input', component: Input },
{ path: '/vision/3d', component: ThreeD }
{ path: '/', redirect: '/vision/input'},
{ path: '/vision/input', component: Input, name:'input' },
{ path: '/vision/3d', component: ThreeD ,name:'threshold'},
{path:'/settings/system', component: System },
{path:'/settings/camera', component: Camera}
]
const router = new VueRouter({