How-do-i-name-the-.bowerrc-file

on the command line (make sure to cd into your working directory), issue this command:

touch .bowerrc

This will also work for other files common to webdev like .htaccess and .gitignore

Note: If you haven’t installed git bash for windows, you may not have support for the touch command. In that case (as mentioned in one of the comments here), the easiest way to accomplish this is via the cli with:

echo "" > .bowerrc

{
  "directory" : "assets/bower_components"
}
支付宝扫码打赏 微信打赏

如果文章对你有帮助,欢迎点击上方按钮打赏作者