-
Hi all,
For the Docker setup, I'm following the configuration provided in deploy/docker. Are there any specific configurations or additional steps required to ensure that custom JavaScript files are properly loaded and executed within the Docker environment? Thank you in advance for your support. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
If your add-on JavaScript is handled in a proper "module" you can list that module in the yaml file with the www_modules key. If not, you would need to copy what you are serving into the HTH |
Beta Was this translation helpful? Give feedback.
here you are inlining your module saying that your js file should be under
/deploy/server/www/my_code/
not/deploy/server/www/
.If you don't want to inline it, you can do it like here and enable it like here.
So if you wanted to add that specific module in the
www_modules
list you will write something likeHTH