I am using MVC4 and have added Bootstrap and Font Awesome via nuget.
I can see how Bootstrap gets bundled in via BootstrapBundleConfig.cs
(which was added by the nuget package) below:
public static void RegisterBundles()
{
BundleTable.Bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include("~/Scripts/bootstrap*"));
BundleTable.Bundles.Add(new StyleBundle("~/Content/bootstrap").Include("~/Content/bootstrap.css", "~/Content/bootstrap-responsive.css"));
}
I have the following questions:
- For font-awesome, I don't see similar bundling code to the above for registering the required css files, is there any, or do i just link to the stylesheet in the content directory
<link href="~/Content/font-awesome.min.css" rel="stylesheet" />
- what is the proper way? - For bootstrap, if I do not want a responsive layout, would I just comment out the bootstrap-responsive.css from
Include("~/Content/bootstrap.css", "~/Content/bootstrap-responsive.css"))
?