WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions