We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How can i use third party JS files and load those inside my JET Custom Component?

Received Response
1
Views
2
Comments

Summary:


Content (required):

I tried following the blog and am successful in creating a basic Web Component. (https://blogs.oracle.com/groundside/post/custom-jet-component-learning-path)

So I tried to play around and had a requirement to use a third party node module (monaco-editor) in the Web Component.

After doing a npm install into the root -> node_modules and making an entry in path_mapping I am able to use the library in my view-model of web component as well.

But when I take a zip export of only the web component and try to use it outside (in a VBCS app) it errors, rightly so as it could not find the required dependencies.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!