Merge pull request 'fix: Unmatched /docs/* subroutes silently render empty DocsView (#347)' (#364) from fix/issue-347 into master
This commit is contained in:
commit
d9a38921b6
1 changed files with 4 additions and 0 deletions
|
|
@ -107,6 +107,10 @@ const router = createRouter({
|
|||
alias: ['/docs/Code'],
|
||||
component: () => import('../views/docs/CodeDocs.vue'),
|
||||
},
|
||||
{
|
||||
path: ':pathMatch(.*)*',
|
||||
redirect: '/docs/introduction',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue