You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should create a folder similar to how components did. This way, all other ng generate commands ran under this folder would be added to the feature module instead of the app.module.ts file.
Example: ng g module fancyFeature
creates:
fancy-feature/fancy-feature.module.ts
ng g component fancy-feature/funky-component
then creates the component as it normally would, but adds the import etc to fancy-feature.module.ts instead of app.module.ts
This would make the application structure easier to follow, and follows the information outlined @ developer guide
Thank you for your consideration :3
The text was updated successfully, but these errors were encountered:
Specifically:
ng g module feature-module
Should create a folder similar to how components did. This way, all other ng generate commands ran under this folder would be added to the feature module instead of the app.module.ts file.
Example:
ng g module fancyFeature
creates:
ng g component fancy-feature/funky-component
then creates the component as it normally would, but adds the import etc to fancy-feature.module.ts instead of app.module.ts
This would make the application structure easier to follow, and follows the information outlined @ developer guide
Thank you for your consideration :3
The text was updated successfully, but these errors were encountered: