How to use Microsoft Library Manager (LibMan)

LibMan is a lightweight tool for managing client side libraries. It is integrated in Visual Studio 2017+ or it can be installed as a .NET tool using the following command: dotnet tool install --global Microsoft.Web.LibraryManager.Cli To set up LibMan, go to your project’s root directory and run this: libman init This creates a libman.json file which looks like this: { "version": "1.0", "defaultProvider": "cdnjs", "libraries": [] } You can then customize the libman file with the libraries you want to use:...

September 14, 2023 · 2 min · Favian Flores