diff --git a/packages/config/types/router.d.ts b/packages/config/types/router.d.ts index d57fe257f4..c035f48a42 100644 --- a/packages/config/types/router.d.ts +++ b/packages/config/types/router.d.ts @@ -9,6 +9,8 @@ import { RouterOptions, RouteConfig } from 'vue-router' export interface NuxtRouteConfig extends RouteConfig { chunkNames: { [key: string]: string } + component?: RouteConfig['component'] | string + children?: NuxtRouteConfig[] } export interface NuxtConfigurationRouter extends RouterOptions {