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

Spectrum Web Components Won’t Work in CEP

Explorer ,
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

145

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
LEGEND ,
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

Votes

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

Copy link to clipboard

Copied

LATEST

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

Votes

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