How to replace a dependency when declaring a component instance?
Using the TAG API (Only for a component)
...
<demo-component cubx-webpackage-id="demo-package@1.0">
<cubx-dependencies>
<cubx-dependency
webpackage-id="third-party-lib@2.0"
artifact-id="awesome-lib-util">
</cubx-dependency>
</cubx-dependencies>
<cubx-dependency-excludes>
<cubx-dependency-exclude
webpackage-id="third-party-lib@1.0"
artifact-id="awesome-lib-util">
</cubx-dependency-exclude>
</cubx-dependency-excludes>
</demo-component>
...Using the Dependency API (For all components)
PreviousHow to render HTML Markup coming from input slot?NextHow to synchronize multiple dataflows between component instances?
Last updated