Add missing name for docs module routes (#8201)

This commit is contained in:
ian
2021-09-21 22:32:26 +08:00
committed by GitHub
parent a66c4b24e1
commit b700f2fe73

View File

@@ -28,6 +28,7 @@ function getRoutes(routes: DocsRoutes): RouteRecordRaw[] {
for (const route of routes) {
if (!('children' in route)) {
updatedRoutes.push({
name: `docs-${route.path.replace('/', '-')}`,
path: route.path,
component: StaticDocs,
meta: {