How do you uninstall all your bower packages?

前端 未结 8 1495
礼貌的吻别
礼貌的吻别 2021-01-30 06:09

Sometimes it\'s useful to rebuild an entire site and force bower to reinstall new versions of all the packages in bower.json.

However, there doesn\'t seem to be any way

8条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-30 07:05

    This is what ended up working for me via Windows cmd prompt:

    forfiles /p .\bower_components /c "cmd /c cd .. && bower uninstall @fname"
    

提交回复
热议问题