【问题标题】:Bower not overwriting bootstrap/dist/css after package install包安装后 Bower 不会覆盖 bootstrap/dist/css
【发布时间】:2019-02-14 00:06:57
【问题描述】:

我使用 bower 安装 bootstrap,在 windows 资源管理器中我可以清楚地看到最新的 bootstrap 已安装。但是,它不会覆盖我在 dist 中的旧引导程序。而且我也无法引用样式表,因为 href="bower_components/bootstrap/dist/bootstrap.min.css" 甚至不是有效路径。有人请帮我解决这个问题!谢谢!

我已经在网上阅读了一些内容,并在我的 bower.main.json 中添加了“dist/css/bootstrap.css”,但仍然没有任何变化?

【问题讨论】:

    标签: twitter-bootstrap asp.net-core asp.net-core-mvc bower


    【解决方案1】:

    根据this

    (Manage Bower Packages) is no longer available
    

    Microsoft 建议使用不同的解决方案。 Library Manager(简称 LibMan) 是 Visual Studio 新推出的客户端库获取工具(Visual Studio 15.8 或更高版本)。欲了解更多信息,请参阅Client-side library acquisition in ASP.NET Core with LibMan

    了解如何使用 LibMan 安装客户端软件包:Use LibMan with ASP.NET Core in Visual Studio

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-12-15
      • 1970-01-01
      • 2014-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-25
      • 1970-01-01
      相关资源
      最近更新 更多