Tae-Sung Shin
Tae-Sung Shin

Reputation: 20620

No Style in Pages of MVC 4 with Twitter Bootstrap

After creating a blank MVC 4 project in VS 2010 on Windows 7, I did following to install Bootstrap packages

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

When I ran the project, everything compiled but the pages had no style at all unlike what the package site suggested. Is this normal or did I need to do any additional thing?

enter image description here

Upvotes: 0

Views: 555

Answers (1)

ngm
ngm

Reputation: 7487

It doesn't look to me like that's the empty MVC4 application. It looks like that's the Internet application template, which will already have a default page. Looks like that default page is being loaded - and it doesn't have any HTML to use the 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.)

Upvotes: 1

Related Questions