How can I implement a theme from bootswatch or wrapbootstrap in an MVC 5 project?

后端 未结 6 1757
深忆病人
深忆病人 2020-11-30 16:59

I am about to create a new ASP.Net MVC5 web application. I would like to use a theme from bootswatch or wrapbootstrap in the application, but cannot find a set of instructio

6条回答
  •  难免孤独
    2020-11-30 17:28

    This may be a little late; but someone will find it useful.

    There's a Nuget Package for integrating AdminLTE - a popular Bootstrap template - to MVC5

    Simply run this command in your Visual Studio Package Manager console

    Install-Package AdminLteMvc
    

    NB: It may take a while to install because it downloads all necessary files as well as create sample full and partial views (.cshtml files) that can guide you as you develop. A sample layout file _AdminLteLayout.cshtml is also provided.

    You'll find the files in ~/Views/Shared/ folder

提交回复
热议问题