Files
PhotonVision/photon-client/src/router.js
Matt 8a7318f5dd Update log viewer, add uncalibrated modal (#108)
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.
2020-09-04 18:18:44 -07:00

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
}]
})