Copy link to clipboard
Copied
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
in your publish preferences you can opt to include your js in your html.
Copy link to clipboard
Copied
in your publish preferences you can opt to include your js in your html.
Copy link to clipboard
Copied
But it only includes the "PROJECT_FILE_NAME.js" file's content, and not the Component's Javascript files.
Copy link to clipboard
Copied
then you'll need to do that manually. i've not done it before so i can't tell you how to do it.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now