Moro Silverio
Moro Silverio

Reputation: 97

Should I user meteor packages or copy js files?

There are many js libraries built by enthusiasts that are incredible. And some of them have found a place in atmospherejs (some of them migrated not by their autor). Should I use the original ones (js files) or add the meteor packages that are the meteor version of these libraries? For example:

Sweet alert:

Meteor version by someone else

Original version by ther author

Upvotes: 2

Views: 58

Answers (1)

Jordi Castilla
Jordi Castilla

Reputation: 26961

You can do both, if you take a look in usage you will find first one (meteor one) you need meteor to install it:

Usage

meteor add kevohagan:sweetalert

And second one you have a working plugin installable via bower or npm

Usage

Method 1: Install through bower:

$ bower install sweetalert

Method 2: Install through NPM:

$ npm install sweetalert

So, if it is not last option, you dont need to get manually any files.

Upvotes: 1

Related Questions