Last update: 06.05.2015 -Bootstrap 3.3.4 ------------------------------
Update 01.12.1014: - Bootstrap 3.3.1 - All used packages -------------------------------------------------------------------------------------------------- Default ASP.NET MVC 5 project using Bootstrap 3.1.1 with LESS, Web API, Msie Javascript engine. Build with BundleTransformer (http://bundletransformer.codeplex.com). Customize template by editing the files in /Content/bootstrap/ and /Content/Site.less. If you want more information about LESS visit http://lesscss.org/ Default javascript engine in this project is Msie, but you can install other engine - for ex. javaScriptEngineSwitcher.V8 using nuget package manager, if you need. After install change jsEngine name in Web.config file: before: XML Edit|Remove xml<bundleTransformer xmlns="http://tempuri.org/BundleTransformer.Configuration.xsd">. . . <less> <jsEngine name="MsieJsEngine" /> </less>. . .</bundleTransformer> <bundleTransformer xmlns="http://tempuri.org/BundleTransformer.Configuration.xsd"> . . . <less> <jsEngine name="MsieJsEngine" /> </less> . . . </bundleTransformer> after: XML Edit|Remove xml<bundleTransformer xmlns="http://tempuri.org/BundleTransformer.Configuration.xsd"> . . . <less> <jsEngine name="V8JsEngine" /> </less>. . . </bundleTransformer> <bundleTransformer xmlns="http://tempuri.org/BundleTransformer.Configuration.xsd"> . . . <less> <jsEngine name="V8JsEngine" /> </less> . . . </bundleTransformer> If you get some errors during translation LESS code check if bundle table optimization is disabled in App_Start/BundleConfig.cs, and looks like this: C# Edit|Remove csharppublic static void RegisterBundles(BundleCollection bundles) { BundleTable.EnableOptimizations = false; bundles.UseCdn = true; var cssTransformer = new CssTransformer(); var jsTransformer = new JsTransformer(); var nullOrderer = new NullOrderer(); . . . } public static void RegisterBundles(BundleCollection bundles) { BundleTable.EnableOptimizations = false; bundles.UseCdn = true; var cssTransformer = new CssTransformer(); var jsTransformer = new JsTransformer(); var nullOrderer = new NullOrderer(); . . . } |