代码之家  ›  专栏  ›  技术社区  ›  suricactus

yeoman/app/bower_components缺失

  •  0
  • suricactus  · 技术社区  · 11 年前

    我正在使用生成器angular创建我的项目。我无意中删除了app/bower_components目录。是否可以恢复?

    $ bower -v
    1.2.8
    $ bower intall
    $ ls app
    404.html     images      po          scripts  views
    favicon.ico  index.html  robots.txt  styles
    

    但没有/app/bower_components。提前感谢。

    1 回复  |  直到 11 年前
        1
  •  0
  •   suricactus    11 年前

    我失踪了 .bowerrc 在项目根文件夹中,包含:

    {
      "directory" : "scripts/components"
    }
    
    推荐文章