Bower 在包安装后不覆盖 bootstrap/dist/css
Bower not overwriting bootstrap/dist/css after package install
我用bower安装了bootstrap,在windows explorer里可以清楚的看到最新的bootstrap已经安装了。但是,它不会覆盖我在 dist 中的旧 bootstrap。而且我也无法引用 sheet 样式,因为 href="bower_components/bootstrap/dist/ bootstrap.min.css" 甚至不是有效路径。有人请帮我解决这个问题!谢谢!
我已经在网上阅读了一些东西,并在我的 bower.main.json 中添加了 ' "dist/css/bootstrap.css" 但仍然没有任何变化?
根据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
我用bower安装了bootstrap,在windows explorer里可以清楚的看到最新的bootstrap已经安装了。但是,它不会覆盖我在 dist 中的旧 bootstrap。而且我也无法引用 sheet 样式,因为 href="bower_components/bootstrap/dist/ bootstrap.min.css" 甚至不是有效路径。有人请帮我解决这个问题!谢谢!
我已经在网上阅读了一些东西,并在我的 bower.main.json 中添加了 ' "dist/css/bootstrap.css" 但仍然没有任何变化?
根据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