Title: Feature: When generating a NgModule, allow -m to indicate which NgModule should import it · Issue #5377 · angular/angular-cli · GitHub
Open Graph Title: Feature: When generating a NgModule, allow -m to indicate which NgModule should import it · Issue #5377 · angular/angular-cli
X Title: Feature: When generating a NgModule, allow -m to indicate which NgModule should import it · Issue #5377 · angular/angular-cli
Description: OS Mac OSX Sierra 10.12.3 Versions @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: darwin x64 @angular/common: 2.4.9 @angular/compiler: 2.4.9 @angular/core: 2.4.9 @angular/forms: 2.4.9 @angular/http: 2.4.9 @angular/platform-browser: 2.4.9 @angu...
Open Graph Description: OS Mac OSX Sierra 10.12.3 Versions @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: darwin x64 @angular/common: 2.4.9 @angular/compiler: 2.4.9 @angular/core: 2.4.9 @angular/forms: 2.4.9 @angular/http: 2.4....
X Description: OS Mac OSX Sierra 10.12.3 Versions @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: darwin x64 @angular/common: 2.4.9 @angular/compiler: 2.4.9 @angular/core: 2.4.9 @angular/forms: 2.4.9 @angular/http: 2.4....
Opengraph URL: https://github.com/angular/angular-cli/issues/5377
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature: When generating a NgModule, allow -m to indicate which NgModule should import it","articleBody":"### OS\r\nMac OSX Sierra 10.12.3\r\n\r\n### Versions\r\n@angular/cli: 1.0.0-rc.1\r\nnode: 6.9.1\r\nos: darwin x64\r\n@angular/common: 2.4.9\r\n@angular/compiler: 2.4.9\r\n@angular/core: 2.4.9\r\n@angular/forms: 2.4.9\r\n@angular/http: 2.4.9\r\n@angular/platform-browser: 2.4.9\r\n@angular/platform-browser-dynamic: 2.4.9\r\n@angular/router: 3.4.9\r\n@angular/cli: 1.0.0-rc.1\r\n@angular/compiler-cli: 2.4.9\r\n\r\n### Repro steps.\r\n`ng g m login -m app.module` doesn't look for the `-m` option today . But i think it would be helpful to be able to create a NgModule and tell the CLI where you want it imported (in another module). \r\n\r\nWithout this, today we must manually import it.\r\n\r\nThis would allow it to work similar to how `ng g s data -m some.module` and `ng g c customer -mother.module` work today\r\n\r\n","author":{"url":"https://github.com/johnpapa","@type":"Person","name":"johnpapa"},"datePublished":"2017-03-11T02:14:16Z","url":"https://github.com/angular/angular-cli/issues/5377"}
| 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:6b5004af-f916-0b61-9c05-fcbad99b747e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2B0:97D39:104A5FC:157864D:6B020F3E |
| html-safe-nonce | 689d597b0185ae5d7330a29cbc2245d5805b6a4ee57ea98185f4bae96594b3ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkIwOjk3RDM5OjEwNEE1RkM6MTU3ODY0RDo2QjAyMEYzRSIsInZpc2l0b3JfaWQiOiI2ODIzNjUzMjc1MzkwNDgyNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c31bbe1be0ef5903ae3dd0d37a560aa57f09f5249878762b65d6489efeca29b0 |
| hovercard-subject-tag | issue:213497423 |
| 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/5377/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80c0d3c8c8e6b463f2ed4e3fc95724d6b08a56fad16bff4d377714cb5eb07136/angular/angular-cli/issues/5377 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80c0d3c8c8e6b463f2ed4e3fc95724d6b08a56fad16bff4d377714cb5eb07136/angular/angular-cli/issues/5377 |
| og:image:alt | OS Mac OSX Sierra 10.12.3 Versions @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: darwin x64 @angular/common: 2.4.9 @angular/compiler: 2.4.9 @angular/core: 2.4.9 @angular/forms: 2.4.9 @angular/http: 2.4.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnpapa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width