Created
June 21, 2013 07:45
-
-
Save venblee/5829580 to your computer and use it in GitHub Desktop.
Bundeling for Bootsrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")); | |
BundleTable.Bundles.Add(new ScriptBundle("~/js").Include( | |
"~/Scripts/jquery-{version}.js", | |
"~/Scripts/jquery-migrate-{version}.js", | |
"~/Scripts/bootstrap.js", | |
"~/Scripts/jquery.validate.js", | |
"~/Scripts/jquery.validate.unobtrusive.js", | |
"~/Scripts/jquery.validate.unobtrusive-custom-for-bootstrap.js" | |
)); | |
BundleTable.Bundles.Add(new StyleBundle("~/content/css").Include( | |
"~/Content/bootstrap.css", | |
"~/Content/body.css", | |
"~/Content/bootstrap-responsive.css", | |
"~/Content/bootstrap-mvc-validation.css" | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment