简体   繁体   English

如何使用Bower包含npm软件包?

[英]how to include npm packages using bower?

I'm starting to develop ember using a grunt/bower workflow. 我开始使用grunt / bower工作流程来开发ember。

Many of the ember extensions seem to be in github as npm packages - what's the best practice way to add these to my project using bower? 许多ember扩展似乎是作为npm软件包放在github中的-使用bower将这些添加到我的项目中的最佳实践是什么?

Thanks! 谢谢!

The question suggest to use packages in not proper way. 问题建议以不正确的方式使用软件包。

If you want add npm packages you should use npm manager and package.json file – example https://github.com/simplabs/ember-simple-auth#examples 如果要添加npm软件包,则应使用npm managerpackage.json文件–示例https://github.com/simplabs/ember-simple-auth#examples

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM