Skip to content

Loading assets of plugin components dynamically #29

@deepakrobot

Description

@deepakrobot

Hi,
How can we load assets (image, i18n json files) used in plugin components? While loading them dynamically from client app, it searches in assets folder of client app.
One thing that can be done is to take asset path as input in plugin component and pass that value at the time of loading but this will be overhead for plugin developer to add extra input and bind it.

Is there any other way to change path of assets while component is loaded dynamically?

Any help will be appreciated.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions