Skip to content

Change default folder for certain items #1814

@maddijoyce

Description

@maddijoyce

Hey,

I guess this is more a feature request than anything else, and I'm not sure if there's any way of doing it, but I'm looking to use a different folder location for certain items, e.g. models go in ../shared/models.

I've got 2 projects that use the same API and I'm basically having to copy and paste my model, serializer and adapter files between the 2 projects. I'd like to have a ../shared/ folder that contains these models, serializers and adapters that I can then point ember-cli to.

Currently, I've tried using symbolic links but it seems that broccoli struggles to deal with symbolic links. Is there a way to change the default name, or import extra models from a different folder.

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