Adding client-side packages using NPM package manager
When we develop applications, we add references to many frameworks and libraries as dependencies. In Visual Studio, we have the NuGet package manager tool to manage all those packages in our application.
In the frontend web community, using Bower, Grunt, Gulp, and NPM to manage packages and running build tasks to develop modern web applications has become widely popular. As this ecosystem is very rich and widely accepted, Visual Studio 2015 has adopted these systems to manage client-side frameworks and libraries, as illustrated. NuGet is ideal to manage server-side packages:
Various package managing tools
We saw how to manage client-side packages using NPM in Visual Studio Code. Similarly, we use NPM in Visual Studio 2015 or later to manage frontend frameworks and libraries in our project. Let's add the Angular framework and other required JavaScript libraries as dependencies to our project using NPM by following these steps:
- First, let's...