Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate bower #5

Closed
infacq opened this issue May 24, 2015 · 5 comments
Closed

Deprecate bower #5

infacq opened this issue May 24, 2015 · 5 comments

Comments

@infacq
Copy link

infacq commented May 24, 2015

I think laravel has provide enough tools beside npm also is basic requirement for elixir. Why not just use npm for dependency management

@jadjoubran
Copy link
Owner

I'm already using npm for node.js dependency management. However I'm using bower for front-end dependency management because bower offers a flat dependency tree which is much more convenient for front end.
For more information on the difference between npm and bower http://stackoverflow.com/a/18652918/1599122

Are you suggesting to use npm with browserify?

@infacq infacq closed this as completed May 30, 2015
@infacq
Copy link
Author

infacq commented Jun 6, 2015

i thought this has solve the problem

https://www.npmjs.com/package/angular-material

to manage the depedencies. Correct me if I'm wrong

@jadjoubran
Copy link
Owner

If you want to use npm to resolve your dependencies you need to use a tool such as browserify. So it's not only about this package (npmjs.com/package/angular-material) you have to install all the front-end dependencies using npm and then loading them with browserify.
But then again the difference between npm and bower would mainly be the dependency resolution (bower has aflat dependency tree which is much more convenient for front-end development)

@infacq
Copy link
Author

infacq commented Jun 8, 2015

thanks for your reply. This conversation has drive me to get deeper into Browserify. I feel singlelify all the js file under browserify is really awesome. Laravel has update their elixir library which can manage all the npm dependencies. You should check it out. Thanks brother

@jadjoubran
Copy link
Owner

Will do, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants