Title: NG generate lazy loaded module · Issue #8717 · angular/angular-cli · GitHub
Open Graph Title: NG generate lazy loaded module · Issue #8717 · angular/angular-cli
X Title: NG generate lazy loaded module · Issue #8717 · angular/angular-cli
Description: Versions Angular CLI: 1.5.5 Node: 6.9.5 OS: win32 x64 Angular: 5.0.4 Feature request Usually all of our feature modules are lazy loaded. So the developer has to run at least two commands to create a new module to get our default file lay...
Open Graph Description: Versions Angular CLI: 1.5.5 Node: 6.9.5 OS: win32 x64 Angular: 5.0.4 Feature request Usually all of our feature modules are lazy loaded. So the developer has to run at least two commands to create ...
X Description: Versions Angular CLI: 1.5.5 Node: 6.9.5 OS: win32 x64 Angular: 5.0.4 Feature request Usually all of our feature modules are lazy loaded. So the developer has to run at least two commands to create ...
Opengraph URL: https://github.com/angular/angular-cli/issues/8717
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NG generate lazy loaded module","articleBody":"### Versions\r\n```\r\nAngular CLI: 1.5.5\r\nNode: 6.9.5\r\nOS: win32 x64\r\nAngular: 5.0.4\r\n```\r\n\r\n### Feature request\r\nUsually all of our feature modules are lazy loaded. \r\nSo the developer has to run at least two commands to create a new module to get our default file layout. \r\n\r\nng g m Foo -- routing\r\nng g c Foo --flat\r\n\r\nThen the developer has to add a default route to the new modules routing module as well as the lazy loading route definition to the nearest parent module.\r\n\r\nAs the syntax and relative paths are allways the same, wouldn't it be possible to add some flags to combine those stepts?\r\n\r\nmaybe like this:\r\nng g module Foo --routing --component --lazy\r\nor even simpler\r\nng g feature Foo (--lazy)\r\n\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/mbeckenbach","@type":"Person","name":"mbeckenbach"},"datePublished":"2017-12-01T16:25:12Z","url":"https://github.com/angular/angular-cli/issues/8717"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0cc58ffd-6ce9-c4d7-c745-4ab617de0440 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FD4:3D97C8:1225277:182CF5D:6B011F62 |
| html-safe-nonce | 9c75759edfecbc4233e26b6fda61b64fb21a513197d0459a5647bde038f07406 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkQ0OjNEOTdDODoxMjI1Mjc3OjE4MkNGNUQ6NkIwMTFGNjIiLCJ2aXNpdG9yX2lkIjoiNzcyMDMzMDIxOTI5OTIyNDAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8fa8cd0dbb65b8e701aa1f4ea6759955cd0c260b6df1eddd1101ff74c5ff6b45 |
| hovercard-subject-tag | issue:278520097 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/8717/issue_layout |
| twitter:image | https://opengraph.githubassets.com/513c4ab42d573f82131b565fff90ae898c5555f6a498abb37b5595ee96175ba3/angular/angular-cli/issues/8717 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/513c4ab42d573f82131b565fff90ae898c5555f6a498abb37b5595ee96175ba3/angular/angular-cli/issues/8717 |
| og:image:alt | Versions Angular CLI: 1.5.5 Node: 6.9.5 OS: win32 x64 Angular: 5.0.4 Feature request Usually all of our feature modules are lazy loaded. So the developer has to run at least two commands to create ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mbeckenbach |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width