How do I connect bower components with sails.js?

前端 未结 5 551
执念已碎
执念已碎 2020-12-07 12:28

I\'d like to be able to install Javascript dependencies through bower and use them in a sails.js app, but I can\'t figure out a way to do this with out just

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 13:07

    There is more than one approach to hooking up SailsJS and Bower.

    A package for SailsJS that integrates Bower via a custom generator exists here: https://www.npmjs.com/package/sails-generate-bower

    There is one for Gulp as well.

提交回复
热议问题