mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-04 03:11:40 +00:00
added routes and hidden header when not needed
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user