DeprecatedLoadChildren
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 proposed ES dynamic import()
expression, which offers a more natural and standards-based mechanism to dynamically load an ES module at runtime.
type DeprecatedLoadChildren = string;
See also
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/router/DeprecatedLoadChildren