
上QQ阅读APP看书,第一时间看更新
How to do it...
- To install a frontend dependency with Bower in ASP.NET Core project using Visual Studio, we just have to right-click the project name in Solution Explorer and select Manage Bower Package in the contextual menu:

Using the Manage Browser Packages window, we can install, uninstall, or update packages such as Bootstrap, jQuery, AngularJS, and a lot more. The Manage Bower Packages dialog box is now open:

- Let's install the LoDash library with Bower by clicking the Install button.
We can see in the Output window that Visual Studio internally uses Bower's command lines, which we could use ourselves, without Visual Studio, to install packages from Bower. We can see the location from which the version dependency is downloaded (GitHub in this case) and the destination folder:
