No style in MVC 4 pages with Twitter Bootstrap

After creating an empty MVC 4 project in VS 2010 on Windows 7, I performed the following steps to install Bootstrap packages

Install-Package twitter.bootstrap.mvc4 Install-Package twitter.bootstrap.mvc4.sample 

When I started the project, everything was compiled, but there was no style on the pages, unlike the package site was offered. Is this normal or do I need to do something else?

enter image description here

0
source share
1 answer

I don’t think this is an empty MVC4 application. This is similar to an Internet application template that will already have a default page. This page seems to load by default - and it does not have HTML code to use bootstrap classes.

Try again with the empty MVC4 application template, it should work then (I just tried it in VS2012 and it worked, at least.)

+1
source

Source: https://habr.com/ru/post/1498000/


All Articles