asp.net mvc 4 - Bootstrap Style sheet could not rendering when put on style sheet to the bundleConfig in MVC4 -


i have tried put on bootstrap stylesheet in bundleconfig mvc4 project stylesheet not rendering when view source, i'm getting design issues. code following:

   <link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css">     <script type="text/javascript" src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>     <script type="text/javascript" src="assets/js/jquery-1.8.2.min.js"></script> 

my bundleconfig code below

public static void registerbundles(bundlecollection bundles)

    {         bundles.add(new scriptbundle("~/bundles/jquery").include(                     "~/scripts/jquery-{version}.js"));          bundles.add(new scriptbundle("~/bundles/jqueryui").include(                     "~/scripts/jquery-ui-{version}.js"));          bundles.add(new scriptbundle("~/bundles/jqueryval").include(                     "~/scripts/jquery.unobtrusive*",                     "~/scripts/jquery.validate*"));          // use development version of modernizr develop , learn from. then, when you're         // ready production, use build tool @ http://modernizr.com pick tests need.         bundles.add(new scriptbundle("~/bundles/modernizr").include(                     "~/scripts/modernizr-*"));         bundles.add(new stylebundle("~/content/css").include("~/content/site.css"));         bundles.add(new stylebundle("~/content/themes/base/css").include(                     "~/content/themes/base/jquery.ui.core.css",                     "~/content/themes/base/jquery.ui.resizable.css",                     "~/content/themes/base/jquery.ui.selectable.css",                     "~/content/themes/base/jquery.ui.accordion.css",                     "~/content/themes/base/jquery.ui.autocomplete.css",                     "~/content/themes/base/jquery.ui.button.css",                     "~/content/themes/base/jquery.ui.dialog.css",                     "~/content/themes/base/jquery.ui.slider.css",                     "~/content/themes/base/jquery.ui.tabs.css",                     "~/content/themes/base/jquery.ui.datepicker.css",                     "~/content/themes/base/jquery.ui.progressbar.css",                     "~/content/themes/base/jquery.ui.theme.css",                     "~/assets/plugins/bootstrap/css/bootstrap.min.css" ));         bundles.add(new stylebundle("~/assets").include(                                 "~/assets/css/headers/header1.css",                                 "~/assets/plugins/bootstrap/css/bootstrap-responsive.min.css",                                 "~/assets/css/style_responsive.css",                                 "~/assets/plugins/font-awesome/css/font-awesome.css",                                 "~/assets/plugins/parallax-slider/css/parallax-slider.css",                                 "~/assets/style.css"));         bundletable.enableoptimizations = true;           } 

could please me?

by default minified scripts ignored. have 2 options :

  1. remove .min bootstrap css file names.
  2. clear ignorelist.

doing 1 of should enough.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -