Skip to content

Commit

Permalink
feat(router): add new pages to router
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuagraber committed Feb 12, 2024
1 parent fce00c0 commit a813bbb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions client/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { createWebHistory, createRouter } from 'vue-router';
import QuickSearchPage from '../src/pages/QuickSearchPage.vue';
import SearchResultPage from '../src/pages/SearchResultPage.vue';
import DataSourceStaticView from '../src/pages/DataSourceStaticView.vue';
import ChangePassword from './pages/ChangePassword.vue';
import LogIn from './pages/LogIn.vue';

const routes = [
{ path: '/', component: QuickSearchPage, name: 'QuickSearchPage' },
Expand All @@ -15,6 +17,16 @@ const routes = [
component: DataSourceStaticView,
name: 'DataSourceStaticView',
},
{
path: '/login',
component: LogIn,
name: 'LogIn',
},
{
path: '/change-password',
component: ChangePassword,
name: 'ChangePassword',
},
];

const router = createRouter({
Expand Down

0 comments on commit a813bbb

Please sign in to comment.