How to use Bootstrap 4 in ASP.NET Core

前端 未结 10 965
故里飘歌
故里飘歌 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:34

    What does the trick for me is:

    1) Right click on wwwroot > Add > Client Side Library

    2) Typed "bootstrap" on the search box

    3) Select "Choose specific files"

    4) Scroll down and select a folder. In my case I chose "twitter-bootstrap"

    5) Check "css" and "js"

    6) Click "Install".

    A few seconds later I have all of them wwwroot folder. Do the same for all client side packages that you want to add.

提交回复
热议问题