Skip to main content
Known Participant
March 21, 2018
Answered

Include all Component related JavaScript in the HTML

  • March 21, 2018
  • 1 reply
  • 412 views

Hi there,

Is there any solution to include all the JavaScript which is generated if I add a Component on the canvas?

I am talking about these file:

components/sdk/anwidget.js

components/ui/src/button.js

components/ui/src/css.js

components/ui/src/label.js

So I want these file to be "burnt" into the HTML file.

Thank you,

Peter

    This topic has been closed for replies.
    Correct answer kglad

    in your publish preferences you can opt to include your js in your html.

    1 reply

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    March 21, 2018

    in your publish preferences you can opt to include your js in your html.

    nzb17299Author
    Known Participant
    March 24, 2018

    But it only includes the "PROJECT_FILE_NAME.js" file's content, and not the Component's Javascript files.

    kglad
    Community Expert
    Community Expert
    March 24, 2018

    then you'll need to do that manually.  i've not done it before so i can't tell you how to do it.