Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading assets of plugin components dynamically #29

Open
deepakrobot opened this issue Feb 17, 2020 · 0 comments
Open

Loading assets of plugin components dynamically #29

deepakrobot opened this issue Feb 17, 2020 · 0 comments

Comments

@deepakrobot
Copy link

deepakrobot commented Feb 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant