angular-plugin-architecture icon indicating copy to clipboard operation
angular-plugin-architecture copied to clipboard

Loading assets of plugin components dynamically

Open deepakrobot opened this issue 5 years ago • 0 comments

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

deepakrobot avatar Feb 17 '20 16:02 deepakrobot