Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Spectrum Web Components Won’t Work in CEP

Explorer ,
Jul 27, 2022 Jul 27, 2022

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
213
Translate
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
LEGEND ,
Jul 27, 2022 Jul 27, 2022

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

 

Mylenium

Translate
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
Explorer ,
Jul 27, 2022 Jul 27, 2022
LATEST

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

Translate
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