mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
* updated libs, folder rework * started store modules added data handle mixin * more store rework * name refractor and component split * bug fixes and code cleanup
24 lines
491 B
JavaScript
24 lines
491 B
JavaScript
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
import Camera from "./views/PipelineView";
|
|
import Settings from "./views/SettingsView";
|
|
Vue.use(Router);
|
|
|
|
|
|
export default new Router({
|
|
// mode: 'history',
|
|
base: process.env.BASE_URL,
|
|
routes: [{
|
|
path: '/',
|
|
redirect: '/vision'
|
|
}, {
|
|
path: '/vision',
|
|
name: 'Vision',
|
|
component: Camera
|
|
}, {
|
|
path: '/settings',
|
|
name: 'Settings',
|
|
component: Settings
|
|
}]
|
|
})
|