Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Including packages from bower in browserify

bower; browserify; angularjs;

Best Answer Wolverine89, 10 May 2015 - 12:27 PM

i allready have browserify installed via grunt! 

 

b9e314a69d.png

Go to the full post


This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 Wolverine89

Wolverine89

    CC Newcomer

  • Member
  • PipPip
  • 10 posts

Posted 08 May 2015 - 12:41 PM

Hi guys,

 

I am creating a web application using the framework AngularJS. It is necessary to use browserify. Is it even possible to use browserify if my front-end dependencies are installed with bower?

So is it possible to include bower dependencies such way as npm dependencies?
 

Thanks in advance !

 



#2 PBJ

PBJ

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 176 posts

Posted 08 May 2015 - 01:32 PM

Since Browserify isn't in the Bower repository, nor does the Browserify documentation suggest being able to be installed via

bower install

, you will have to do some manual work in order to set it up. However, since it does reside in the npm repository you can use

npm install -g browserify --save-dev

, which will add it to your devDependencies. However, there remains a bit of work that you will have to do manually, which this guide should provide enough information to get browserify (it works for me).

 



#3 Wolverine89

Wolverine89

    CC Newcomer

  • Member
  • PipPip
  • 10 posts

Posted 10 May 2015 - 12:27 PM   Best Answer

i allready have browserify installed via grunt! 

 

b9e314a69d.png


Edited by Wolverine89, 10 May 2015 - 12:29 PM.





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download