MiroHibler / meteor-preloader

A Meteor "lazy-loader" for external .js and .css libraries
75 stars 3 forks source link

Can you make something like this that doesn't depend on Iron Router? #17

Open trusktr opened 9 years ago

trusktr commented 9 years ago

I'm using 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.

MiroHibler commented 9 years ago

From the quick look at flow-router it looks nice (I'm not using it yet) but it would probably require some time to adopt preloader to it and unfortunately I currently don't have that time... :(

But you're very welcome to jump on it ;)

emmanuelbuah commented 9 years ago

I agree. Is there any reason why it has to depend on a router? It would be great if it can be configured in and of itself without a router.

markudevelop commented 9 years ago

+1

tcastelli commented 9 years ago

Not sure if this will fit, but there's a package for router abstraction (compatible with iron router and flowrouter) https://github.com/nicolaslopezj/meteor-router-layer

MiroHibler commented 9 years ago

Thanks! I'm actually starting to delve into flow-router and will try to work it out somehow ;)

avalanche1 commented 9 years ago

+1