Spectrum Web Components Won’t Work in CEP

New Here ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

I'm having issues getting Spectrum Web Components to work in a CEP Panel.

 

As of now, I'm only able to get it to work using the script tag method below. When I try to build a bundle of the node module locally using webpack, it shows correctly in my IDEs HTML preview, but none of the elements load in the CEP panel.

 

Anyone have any ideas on why this would be?

 

<script src="https://jspm.dev/@spectrum-web-components/bundle/elements.js" type="module" ></script>

 

TOPICS
Scripting , SDK

Views

33

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

As just written a few seconds ago in another post, you may still need to initialize the sockets.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

LATEST

Oh interesting. Dumb question but how would I go about doing that?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines