fix: add redirects to not existing pages
This commit is contained in:
+5
-5
@@ -140,11 +140,11 @@ export default [
|
||||
name: 'Button Groups',
|
||||
to: '/buttons/button-groups'
|
||||
},
|
||||
{
|
||||
_name: 'CNavItem',
|
||||
name: 'Brand Buttons',
|
||||
to: '/buttons/brand-buttons'
|
||||
}
|
||||
// {
|
||||
// _name: 'CNavItem',
|
||||
// name: 'Brand Buttons',
|
||||
// to: '/buttons/brand-buttons'
|
||||
// }
|
||||
]
|
||||
},
|
||||
// {
|
||||
|
||||
@@ -22,6 +22,11 @@ const routes = [
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "dashboard" */ "@/views/Dashboard.vue"),
|
||||
},
|
||||
{
|
||||
path: "/theme",
|
||||
name: "Theme",
|
||||
redirect: "/theme/typography"
|
||||
},
|
||||
{
|
||||
path: "/theme/colors",
|
||||
name: "Colors",
|
||||
@@ -40,6 +45,7 @@ const routes = [
|
||||
return h(resolveComponent('router-view'))
|
||||
}
|
||||
},
|
||||
redirect: '/base/breadcrumbs',
|
||||
children: [
|
||||
{
|
||||
path: "/base/breadcrumbs",
|
||||
@@ -136,6 +142,7 @@ const routes = [
|
||||
return h(resolveComponent('router-view'))
|
||||
}
|
||||
},
|
||||
redirect: '/buttons/standard-buttons',
|
||||
children: [
|
||||
{
|
||||
path: "/buttons/standard-buttons",
|
||||
@@ -152,11 +159,13 @@ const routes = [
|
||||
name: "Button Groups",
|
||||
component: () => import("@/views/buttons/ButtonGroups.vue"),
|
||||
},
|
||||
/*
|
||||
{
|
||||
path: "/buttons/brand-buttons",
|
||||
name: "Brand Buttons",
|
||||
component: () => import("@/views/buttons/BrandButtons.vue"),
|
||||
},
|
||||
*/
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -167,6 +176,7 @@ const routes = [
|
||||
return h(resolveComponent('router-view'))
|
||||
}
|
||||
},
|
||||
redirect: '/icons/coreui-icons',
|
||||
children: [
|
||||
{
|
||||
path: "/icons/coreui-icons",
|
||||
@@ -193,6 +203,7 @@ const routes = [
|
||||
return h(resolveComponent('router-view'))
|
||||
}
|
||||
},
|
||||
redirect: '/notifications/alerts',
|
||||
children: [
|
||||
{
|
||||
path: "/notifications/alerts",
|
||||
|
||||
Reference in New Issue
Block a user