Hi, best explained with an image:
So, this is a NON require dashboard. You can see that alpaca uses handlebars and bootstrap.
That all works perfectly. (In some more complex cases there are additional js files for bootstrap plugins etc)
So; How should it work in a requireJS dashboard?
I thought it would be something along the lines of a previous blog post:
But alas, that takes no account of multiple JS files! I'm not even convinced that blog content works any more, or is even correct.
My problem is, there's quite some documentation on requireJS, and even some documentation from ctools, but there's nothing which combines using CDE and using requireJS. Also all the documentation assumes you're a require rockstar! Which is something I do not want to be!