mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-03 03:49:29 +00:00
remove route logging & catchAll fallback
This commit is contained in:
@@ -67,22 +67,10 @@ const router = VueRouter.createRouter({
|
||||
name: 'Cis4',
|
||||
component: FhcDashboard,
|
||||
props: {dashboard: 'CIS'},
|
||||
},
|
||||
// only use the catchAll route if every cis4 Route is being handled in vue router, currently Profil is being
|
||||
// codeigniter routed
|
||||
// {
|
||||
// path: '/:catchAll(.*)',
|
||||
// redirect: {name: 'FhcDashboard'},
|
||||
// props: true
|
||||
// }
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
router.beforeEach((to, from) => {
|
||||
console.log('from', from)
|
||||
console.log('to', to)
|
||||
})
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'FhcApp',
|
||||
data: () => ({
|
||||
|
||||
Reference in New Issue
Block a user