How to use Bootstrap 4 in ASP.NET Core

前端 未结 10 971
故里飘歌
故里飘歌 2020-12-04 05:11

I want to update Bootstrap in ASP.NET Core with NuGet. I used this:

Install-Package bootstrap -Version 4.0.0

It did add the dependencies bu

10条回答
  •  清歌不尽
    2020-12-04 05:55

    We use bootstrap 4 in asp.net core but reference the libraries from "npm" using the "Package Installer" extension and found this to be better than Nuget for Javascript/CSS libraries.

    We then use the "Bundler & Minifier" extension to copy the relevant files for distribution (from the npm node_modules folder, which sits outside the project) into wwwroot as we like for development/deployment.

提交回复
热议问题