Skip to content

Suggestion: Add blueprint for modules #1704

@yusijs

Description

@yusijs

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions