Add name to routes with empty path (#16174)

* add name to routes with empty path

* use same naming convention for redirects
This commit is contained in:
Azri Kahar
2022-10-26 13:53:26 +08:00
committed by GitHub
parent e7a57827f5
commit 107c6d297b
2 changed files with 3 additions and 0 deletions

View File

@@ -10,10 +10,12 @@ export default defineModule({
icon: 'help_outline',
routes: [
{
name: 'docs-routes',
path: '',
component: StaticDocs,
children: [
{
name: 'docs-app-overview-redirect',
path: '',
redirect: '/docs/app/overview',
},

View File

@@ -31,6 +31,7 @@ export default defineModule({
color: 'var(--primary)',
routes: [
{
name: 'settings-data-model-redirect',
path: '',
redirect: '/settings/data-model',
},