i working on ionic project needs shared multiple developers using github. not syncing following folders github, part of .gitignore file
plugins/
www/lib/
how new developer (who gets app github) manage dependencies part of these folders.
if 'ionic state restore' terminal fetches cordova plugins part of package.json. so, takes care of 'plugins/' folder.
however, www/lib folder still empty. need ionic/angular related javascript files reside in www/lib folder.
(assuming have both bower , npm installed, if not follow these links setup done: npm, bower)
ionic uses bower
library package manager. run these commands after clone project github:
npm install
(referspackage.json
install plugins)bower install
(referesbower.json
install libs)
hope helpful, happy coding. :)
Comments
Post a Comment