LoadChildren
A string of the form path/to/file#exportName
that acts as a URL for a set of routes to load, or a function that returns such a set.
type LoadChildren = LoadChildrenCallback | DeprecatedLoadChildren;
参见
Route#loadChildren
.
说明
The string form of LoadChildren
is deprecated (see DeprecatedLoadChildren
). The function form (LoadChildrenCallback
) should be used instead.