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:
RequireJS, JQuery Plugins and #Pentaho CDE | Codeks Blog
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!
Thanks!
Dan
hang on, i may just have a solution, let me write it up..
Dan KeeleyWere you able to find a solution to this?
yes, i'm going to write it up / update my blog page. give me a few days.
Here you go:
RequireJS again! | Codeks Blog