Skip to content

[Enhancement] Improve code modification when generating new routes #744

Description

@thorstenschaefer

When we generate a new route, it gets automatically added to the main component, which is great. The import statement of our new component is getting placed directly after the first block of import statements. According to the official style guide, we should first import all the angular dependencies, and then in a second block, separated by an empty line, our own application dependencies (see Style 03-06 in https://angular.io/docs/ts/latest/guide/style-guide.html#!#coding-conventions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions