Global Javascript

0
I have a javascript file that I would like to make globally available (i.e. add it in index.html). Where is the best place to store this in my project to ensure it is served? I am thinking in theme/resources and then refer to it relatively in index.html. Or is there an existing mechanism to add global javascript?
asked
1 answers
2

HI James, what you mentioned is quite common practice; add it to theme/resources. Not sure what the library would be that you want to load globally? Mostly JavaScript libraries come prepackaged with a widget.

answered