Files
PhotonVision/chameleon-client/src/routes.js

19 lines
625 B
JavaScript
Raw Normal View History

2019-03-14 22:48:25 +02:00
import VueRouter from "vue-router";
import Input from "./components/InputTab.vue";
2019-03-20 22:35:02 +02:00
import Threshold from "./components/ThresholdTab.vue";
import System from "./components/SystemTab.vue";
import Camera from "./components/CameraTab.vue";
2019-03-14 22:48:25 +02:00
const routes = [
{ path: '/', redirect: '/vision/input'},
{ path: '/vision/input', component: Input, name:'input' },
2019-03-24 21:01:25 +03:00
{ path: '/vision/threshold', component: Threshold ,name:'threshold'},
{path:'/settings/system', component: System },
{path:'/settings/camera', component: Camera}
2019-03-14 22:48:25 +02:00
]
const router = new VueRouter({
routes // short for `routes: routes`
})
export default router;