How can I invoke npm on heroku command line (to install bower components)?

后端 未结 4 2142
清酒与你
清酒与你 2020-12-13 04:33

Bower is for client side Javascript what npm is for the server side and reads a component.json file to recognize dependencies that should be fetched at deploy t

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-13 05:20

    You can use run like this:

    heroku run npm install git://github.com/webjay/kaiseki
    

提交回复
热议问题