According to spec, I must set the IronRouter loading template globally as in…
Router.configure({
[...]
loadingTemplate: 'myloadingtemplate',
[...]
});
I’ve tried everything to I can think of without much success. Is it possible to set the IronRouter loading template globally in this way?
FWIW I’ve had no problems at all setting loading template on a per-route basis as in…
Router.route('/a_route', {
loadingTemplate: 'myloadingtemplate',
waitOn: function () {
[...]
});
Router.route('/another_route', {
loadingTemplate: 'myloadingtemplate',
waitOn: function () {
[...]
});
These are some perhaps relevant aspects of the IronRouter documentations and code that I’ve come accross…