type-alias
deprecated
A string of the form path/to/file#exportName
that acts as a URL for a set of routes to load.
Deprecated: The string
form of loadChildren
is deprecated in favor of the LoadChildrenCallback
function which uses the ES dynamic import()
expression. This offers a more natural and standards-based mechanism to dynamically load an ES module at runtime.
type DeprecatedLoadChildren = string;
loadChildrenCallback
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/router/DeprecatedLoadChildren