Skip to content

Feature Request: Create one file per path #40

@dpkirchner

Description

@dpkirchner

Currently, the generator creates one file per top-level path component -- that is, if you have paths a/b/c and a/d/e[1] and a path template named routes/$$path$$/route.js.hbs it only creates one file routes/a/route.js. I'd like it to create a/b/c.js or optionally a_b_c.js (assuming I change the path template to routes/$$path$$.js), so I can create path-specific scripts for testing purposes.

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