Skip to main content
Known Participant
July 27, 2022
Question

Spectrum Web Components Won’t Work in CEP

  • July 27, 2022
  • 1 reply
  • 299 views

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>

 

This topic has been closed for replies.

1 reply

Mylenium
Legend
July 27, 2022

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

 

Mylenium

TreyP123Author
Known Participant
July 27, 2022

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