Best way to include SweetAlerts2 on your meteor app?


Atmosphere package or npm package ?
Which one is the best way and why ?


Still in the Guide :

Personally, I always try first to use Atmosphere package, if the last update seems too old, I try to use the package on npm (if it exists). And most of the time I finish by using npm, Atmosphere seems a bit abandoned.

I am not sure, so correct me if I am wrong, but MDG plans to fully integrate npm’s ecosystem into Meteor, no ?


I think they already integrated npm’s ecosystem into Meteor.


Of course, as it is possible to use npm packages… But I meant more than this, to completely use npm for managing dependencies, without Atmosphere on an other hand.

But I might be wrong.


It is already the case :slight_smile:


With the release of version 1.3, Meteor has full support for npm. In the future, there will be a time when all packages will be migrated to npm, but currently there are benefits to both systems.