mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
Adds a prettier log viewer, with the ability to filter logs. Also warns user and prevents switching into 3d mode if the resolution is uncalibrated.
34 lines
751 B
JavaScript
34 lines
751 B
JavaScript
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
import Dashboard from "./views/PipelineView";
|
|
import Cameras from "./views/CamerasView";
|
|
import Settings from "./views/SettingsView";
|
|
import Docs from "./views/DocsView";
|
|
|
|
Vue.use(Router);
|
|
|
|
export default new Router({
|
|
// mode: 'history',
|
|
base: process.env.BASE_URL,
|
|
routes: [{
|
|
path: '/',
|
|
redirect: '/dashboard'
|
|
}, {
|
|
path: '/dashboard',
|
|
name: 'Dashboard',
|
|
component: Dashboard
|
|
}, {
|
|
path: '/cameras',
|
|
name: 'Cameras',
|
|
component: Cameras
|
|
}, {
|
|
path: '/settings',
|
|
name: 'Settings',
|
|
component: Settings
|
|
}, {
|
|
path: '/docs',
|
|
name: 'Docs',
|
|
component: Docs
|
|
}]
|
|
})
|