Skip to content

Commit

Permalink
No more lazy loading views.
Browse files Browse the repository at this point in the history
  • Loading branch information
KenEucker committed Jan 22, 2024
1 parent d1877d9 commit cb8da3d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,72 +22,72 @@ const routes: Array<RouteRecordRaw> = [
{
path: '/',
name: 'Landing',
component: () => Landing,
component: Landing,
},
{
path: '/:tagnumber?',
name: 'Home',
component: () => Home,
component: Home,
},
{
path: '/biketags/:currentPage?',
name: 'BikeTags',
component: () => BikeTags,
component: BikeTags,
},
{
path: '/players/:currentPage?',
name: 'Players',
component: () => Players,
component: Players,
},
{
path: '/player/:name/:currentPage?',
name: 'Player',
component: () => Player,
component: Player,
},
{
path: '/play',
name: 'Play',
component: () => Play,
component: Play,
},
{
path: '/round',
name: 'Round',
component: () => Round,
component: Round,
},
{
path: '/howtoplay',
name: 'How',
component: () => HowToPlay,
component: HowToPlay,
},
{
path: '/leaderboard',
name: 'Leaderboard',
component: () => Leaderboard,
component: Leaderboard,
},
{
path: '/about',
name: 'About',
component: () => About,
component: About,
},
{
path: '/login',
name: 'Login',
component: () => Login,
component: Login,
},
{
path: '/logout',
name: 'Logout',
component: () => Logout,
component: Logout,
},
{
path: '/worldwide',
name: 'Worldwide',
component: () => Worldwide,
component: Worldwide,
},
{
path: '/map',
name: 'Map',
component: () => Map,
component: Map,
},
]

Expand All @@ -99,13 +99,13 @@ if (isAuthenticationEnabled()) {
path: '/profile',
name: 'Profile',
beforeEnter: authGuard,
component: () => Profile,
component: Profile,
},
{
path: '/approve',
name: 'Approve',
beforeEnter: authGuard,
component: () => Approve,
component: Approve,
},
]
}
Expand Down

0 comments on commit cb8da3d

Please sign in to comment.