Title: Import Module while generating Submodule with --routing uses RoutingModule · Issue #6533 · angular/angular-cli · GitHub
Open Graph Title: Import Module while generating Submodule with --routing uses RoutingModule · Issue #6533 · angular/angular-cli
X Title: Import Module while generating Submodule with --routing uses RoutingModule · Issue #6533 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [] feature request Versions. @angular/cli: 1.1.0 node: 6.9.4 os: win32 x64 @angular/animations: 4.1.3 @angular/common: 4.1.3 @ang...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [] feature request Versions. @angular/cli: 1.1.0 node: 6.9.4 os: win32 x64 @angular/anima...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [] feature request Versions. @angular/cli: 1.1.0 node: 6.9.4 os: win32 x64 @angular/an...
Opengraph URL: https://github.com/angular/angular-cli/issues/6533
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Import Module while generating Submodule with --routing uses RoutingModule","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [] feature request\r\n```\r\n\r\n### Versions.\r\n@angular/cli: 1.1.0\r\nnode: 6.9.4\r\nos: win32 x64\r\n@angular/animations: 4.1.3\r\n@angular/common: 4.1.3\r\n@angular/compiler: 4.1.3\r\n@angular/core: 4.1.3\r\n@angular/forms: 4.1.3\r\n@angular/http: 4.1.3\r\n@angular/platform-browser: 4.1.3\r\n@angular/platform-browser-dynamic: 4.1.3\r\n@angular/router: 4.1.3\r\n@angular/cli: 1.1.0\r\n@angular/compiler-cli: 4.1.3\r\n@angular/language-service: 4.1.3\r\n\r\n### Repro steps.\r\n* I simple started a Project with `ng new bar --routing`\r\n* Then i want to generate a submodule `ng g module foo --routing -m=app.modules`\r\n\r\n### The log given by the failure.\r\nOutput:\r\n\u003cpre>\r\n create src\\app\\foo2\\foo-routing.module.ts\r\n create src\\app\\foo2\\foo.module.ts\r\n update src\\app\\app.module.ts\r\n\u003c/pre>\r\n\r\n* app.module.ts:\r\n\u003cpre>\r\n@NgModule({\r\n declarations: [\r\n AppComponent\r\n ],\r\n imports: [\r\n BrowserModule,\r\n AppRoutingModule,\r\n FooRoutingModule\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent]\r\n})\r\n\u003c/pre>\r\n\r\n\r\n### Desired functionality.\r\n\r\nFooModule should be imported!\r\n\r\n### Mention any other details that might be useful.\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\n\r\n","author":{"url":"https://github.com/web-dave","@type":"Person","name":"web-dave"},"datePublished":"2017-06-01T11:39:58Z","url":"https://github.com/angular/angular-cli/issues/6533"}
| 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:8b43fb80-fe56-a57b-016c-d0e9bf435b1c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93B8:3CBB3E:2F64708:3C84338:6B02095C |
| html-safe-nonce | b7e847be37f3341585ba94aa4f4747ddfa3aae84122362fd42ed555379eb4fee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0I4OjNDQkIzRToyRjY0NzA4OjNDODQzMzg6NkIwMjA5NUMiLCJ2aXNpdG9yX2lkIjoiNjQwODYwMzkzNjMyODEyNDc2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 59a010792de46c73c69b64668327482fe2fd92c7897f5822594f680973356c0e |
| hovercard-subject-tag | issue:232851289 |
| 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/6533/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98e3231e1e251904096105cc7bf085cbb6085cfe157d2ab21c68d074e481648a/angular/angular-cli/issues/6533 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98e3231e1e251904096105cc7bf085cbb6085cfe157d2ab21c68d074e481648a/angular/angular-cli/issues/6533 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [] feature request Versions. @angular/cli: 1.1.0 node: 6.9.4 os: win32 x64 @angular/anima... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | web-dave |
| 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