nx icon indicating copy to clipboard operation
nx copied to clipboard

generate lib command should also add the module to app.module.ts

Open xmlking opened this issue 8 years ago • 2 comments

ng g lib home      --routing --parent-module=apps/myapp/src/app/app.module.ts

this command added homeRoutes to app.module.ts but not the HomeModule it self.

Expected: above command should also import HomeModule into app.module.ts

xmlking avatar Jan 20 '18 17:01 xmlking

I will take this one.

cristianmartinez avatar Oct 04 '18 02:10 cristianmartinez

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

github-actions[bot] avatar Mar 25 '23 15:03 github-actions[bot]