LoadChildren
本函数返回一组要加载的路由。
A function that returns a set of routes to load.
type LoadChildren = LoadChildrenCallback | DeprecatedLoadChildren;
参见
loadChildrenCallback
说明
不推荐使用 LoadChildren
的字符串形式(参见 DeprecatedLoadChildren
)。应该改用函数形式(LoadChildrenCallback
)。
The string form of LoadChildren
is deprecated (see DeprecatedLoadChildren
). The function form (LoadChildrenCallback
) should be used instead.