meteor-preloader
meteor-preloader copied to clipboard
A Meteor "lazy-loader" for external .js and .css libraries
I20170719-06:06:51.958(-7)? Exception in callback of async function: TypeError: Cannot read property 'groupIds' of undefined I20170719-06:06:51.960(-7)? at [object Object].children.find (imports/api/publisher/publish.js:100:47) I20170719-06:06:51.964(-7)? at Publication._getCursor (packages/reywood:publish-composite/lib/publication.js:86:34) I20170719-06:06:51.968(-7)? at Publication.publish (packages/reywood:publish-composite/lib/publication.js:26:28) I20170719-06:06:51.971(-7)? at Publication.createChildPublication...
Any way to get this working with Flowrouter - the defacto standard router for M nowadays? btw, I love your readme headers :smile:
Hello Miroslav, got this in console: ``` [ Preloader - Start ] Loading route "home"... miro_preloader.js:22[ Preloader - Async ] Loading initiated... miro_preloader.js:22[ Preloader - Async ] Loading 1/3: https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js...
I'm using [flow-router](https://github.com/meteorhacks/flow-router). It'd be nice to have manual control over the loading so I can write some code in the `action` of a flow-router route to load stuff.
Hope there's a function or make a loader page if css are not loaded yet
Hello again! Due to certain circumstances I've seen how the CDN servers were out, and all my routes depending on that were not loading correctly. Would it be possible to...
onAfterAsync never called is never called. Looking at the code, it seems that you've forgotten to add it to the collection of Router Libraries
Hey - I'm trying to load semantic-ui on demand, (in conjunction with the [Lazy Bundles package](https://github.com/numtel/meteor-lazy-bundles/)), like below: ``` js Router.route('admin', { path: '/admin', controller: PreloadController, preload: { styles: ['semantic.css'],...
The default policy of the [browser-policy](https://github.com/meteor/meteor/tree/devel/packages/browser-policy) package disallows `eval()`, therefore `async` or `sync` options generate the following error: _"Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an...
Currently I'm trying to use this library to manage a case where I need `Bootstrap` css on a set of routes (admin routes, as of [meteor-admin](https://github.com/yogiben/meteor-admin)) and `Materialize` css on...