Skip to content

Paths should follow the styleguide #316

Description

@hansl

Following the Houston app demo;

  • The directory structure need to be only including routes (not components, services or pipes). Components, services and pipes need to be in an _ directory inside the route
    The following commands need to be changes (feel free to check those that are solved):
    • new: simply a matter of updating the scaffold.
    • generate:
      • component/service/pipe: need to be added to an _ directory in the route specified. For example, ng generate component foo/bar/blah should be generated in the directory foo/bar/_/blah. If the _ is included then we don't need to add it (an _ route would be invalid here).
      • route: the scaffold need to include an empty _ directory under the route itself.
  • Adding an index.ts file to all scaffolds that export the component/route/service/pipe of that directory.

I think that's it for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions