You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default the route will be designated as a **lazy** route which means that it will be loaded into the browser when needed, not upfront as part of a bundle.
148
107
149
-
Visiting `http://localhost:4200/hero` will show the hero list.
108
+
In order to visually distinguish lazy routes from other routes the folder for the route will be prefixed with a `+` per the above example the folder will be named `+hero`.
109
+
This is done in accordance with the style guide.
150
110
111
+
The default lazy nature of routes can be turned off via the lazy flag (`--lazy false`)
151
112
152
-
There is an optional flag for `skip-router-generation` which will not add the route to the `CliRouteConfig` for the application.
113
+
There is an optional flag for `skip-router-generation` which will not add the route to the parent component's `@RouteConfig` decorator.
0 commit comments