javascript - Difference between ionic and cordova plugin install -
when working ionic, difference between
ionic plugin install ...
and
cordova plugin install
which 1 should used? , why?
thx!
there difference
ionic create files in project, such ionic.project
, package.json
.
each time add plugin ionic using command ionic plugin add ...
, ionic updates package.json
.
ionic cli uses package.json
manage cordova app state in terms of platforms , plugins.
package.json
has 2 sections, cordovaplatforms , cordovaplugins allows ionic state restore
cordova environment ready build, run, etc...
more explanations here : https://stackoverflow.com/a/30192417/3096087
Comments
Post a Comment