I don't know how to generate component to library in nx workspace. Here is my library structure. Libraries are in folders (for example libs/features, libs/shared). I would like to create component in library orders (libs/features/orders).
nx g @nrwl/angular:component orders-list --project orders
Error:
Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
angular.json
{ "version": 2, "projects": { "orders": "libs/features/orders" } }
How to generate component to library, if module is in subfolder?