diff --git a/src/router/index.ts b/src/router/index.ts index 4bc1f6f..75303fa 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -9,6 +9,7 @@ import Login from '@/html/LoginView.vue'; import UserList from '@/html/UserList.vue'; import Home from '@/html/Home.vue'; import DataStatistics from '@/html/DataStatistics.vue'; +import Cameras from '@/components/Cameras.vue'; const routes = [ { @@ -58,6 +59,12 @@ const routes = [ name: 'DataStatistics', component: DataStatistics, meta: { requiresAuth: true } + }, + { + path:'/cameras', + name: 'Cameras', + component: Cameras, + meta: { requiresAuth: true } } ] },