Skip to content

Add option to work with flat structure #203

@ericmdantas

Description

@ericmdantas

As of right now, we've got the following structure:

todo
 + components
     -- something.ts
 + templates
     -- something.html
 + styles 
     -- something.css
 + services
     -- somethingService.ts

That's a good approach for people who are going to use more than one "todo" component (like list, specific, edit, etc), service and/or anything else. But, often times people would rather have something like:

todo
  -- somethingCmp.ts
  -- somethingService.ts
  -- something.css
  -- something.html

And the generator should provide a way for them to accomplish it - the --feature flag is still oligatory, the context still must be set.

Refs: #15 and #168.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions