You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.
In the above sample code, value for dynamicurl property is available in the AppData component when the web component gets loaded, where as in direflow creation component its not. Please suggest on how to load dynamic external-loader url.
I even tried with useExternalSource hook but no luck.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi All,
I have a requirement where I need to load the external-loader dynamic using direflow properties.
Here is the sample code:
const direflowProperties = {
dynamicurl: '',
};
export default DireflowComponent.create({
component: AppData,
configuration: {
tagname: "sample-comp",
useShadow: true,
},
properties: direflowProperties,
plugins: [
{
name: 'external-loader',
options: {
paths: [
{
src:
${direflowProperties.dynamicurl}src.f69400ca.css
,async: true,
useHead: true
}
],
}
}
]
});
In the above sample code, value for dynamicurl property is available in the AppData component when the web component gets loaded, where as in direflow creation component its not. Please suggest on how to load dynamic external-loader url.
I even tried with useExternalSource hook but no luck.
The text was updated successfully, but these errors were encountered: