mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-04 03:11:40 +00:00
Rename to PhotonVision
This commit is contained in:
23
photon-client/src/router.js
Normal file
23
photon-client/src/router.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
||||
}]
|
||||
})
|
||||
Reference in New Issue
Block a user