Skip to content

Usage in in-repo-engine #90

@roberkules

Description

@roberkules

hi,

trying to use ember-can in our app that consists of the main app and a few in-repo-engines.

we have a account-section and a corresponding account permission (read/write)

according to the docs, it should look like this:

// /lib/account/addon/abilities/account.js
export { default } from 'merchant-admin/abilities/account';

(merchant-admin is the main app, account is one of the in-repo-engines and account is also the name of the ability created in the main app)

I tried that, but then I'm getting this error:

Uncaught Error: Could not find module account/abilities/account imported from (require)

is it even possible to import from the main app (into the in-repo-engine)? or is there maybe another step missing?

ember:          3.2.2
ember-engines:  0.5.20
ember-can:      1.1.0

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