Skip to content

Commit

Permalink
Add test (placeholder) page
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Oct 7, 2024
1 parent 314a5f2 commit 1166b1b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/layouts/LayoutDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import AdminSidebarMenuItems from '@userfrosting/sprinkle-admin/components/Sideb
<UFSideBar>
<UFSideBarLabel label="NAVIGATION" />
<AdminSidebarMenuItems />
<UFSideBarItem :to="{ name: 'test' }" faIcon="person-digging" label="Test" />
</UFSideBar>
<UFMainContent>
<RouterView />
Expand Down
12 changes: 11 additions & 1 deletion app/assets/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,17 @@ const router = createRouter({
path: '',
component: () => import('../layouts/LayoutDashboard.vue'),
children: [
...AdminRoutes
...AdminRoutes,
{
path: '/test',
name: 'test',
meta: {
auth: {
redirect: { name: 'account.login' }
}
},
component: () => import('../views/TestView.vue')
}
]
}
]
Expand Down
2 changes: 2 additions & 0 deletions app/assets/views/TestView.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<template>
</template>

0 comments on commit 1166b1b

Please sign in to comment.