How to load library in a theme component

One more question: What’s the difference between ...initializers/mycode.js and ...api-initializers/mycode.js?

And much thanks to both of you!!

That was a good example! I was able to make sense of it!

Well, I thought I followed your example. Javascript still seems like a twisty maze of passages that all look alike.

3 Likes