Hi
We would like to use a provided design system in our AEM components like the spectrum Design System of Adobe (https://opensource.adobe.com/spectrum-web-components/).
I achieved to include webcomponents via a CDN (example include Ioinic webcomponent with properties from the dialog)
<script src="https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic.js"></script>
<ion-radio-group value="strawberries">
<ion-radio value="${properties.text}">This is my prop: ${properties.text}</ion-radio><br/>
<ion-radio value="strawberries">Strawberries</ion-radio><br />
<ion-radio value="pineapple">Pineapple</ion-radio><br />
<ion-radio value="cherries">Cherries</ion-radio>
</ion-radio-group>
But when I try to include it via a node_module I can't find a way to use the webcomponent.
Does anyone has any idea?
Solved! Go to Solution.
Views
Replies
Total Likes
Please check if this approach works for you - What are Custom HTML Elements? | How to use Custom HTML Elements in AEM? | by Albin Issac | Tech Lea...
Regards
Albin
Please check if this approach works for you - What are Custom HTML Elements? | How to use Custom HTML Elements in AEM? | by Albin Issac | Tech Lea...
Regards
Albin
Hi Albin
We are here talking about creating custom Webcomponents in AEM itself.
In our use case we want to embed them via an NPM package (web components are hosted and created somewhere else).
I assume that we need to bind the package to a clientlibs category and we can use it that way.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies