Hi
I have below Bundles . How to use them in Layout file
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new StyleBundle("~/content/css").Include(
"~/components/bootstrap/dist/css/bootstrap.css",
"~/components/BootstrapValidator/dist/css/bootstrapValidator.min.css",
"~/components/font-awesome/css/font-awesome.css",
"~/components/datatables.net-bs/css/dataTables.bootstrap.css",
"~/dist/css/skins/_all-skins.css",
"~/components/Site.css"));
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/components/jquery/dist/jquery-2.1.1.min.js",
"~/components/bootstrap/dist/js/bootstrap.min.js",
"~/components/BootstrapValidator/dist/js/bootstrapValidator.min.js",
"~/components/jquery/dist/jquery.validate.min.js",
"~/components/jquery/dist/jquery.validate.unobtrusive.min.js",
"~/components/datatables.net/js/jquery.dataTables.min.js",
"~/components/datatables.net-bs/js/dataTables.bootstrap.min.js"));
}
Thanks

Sachin SinghRank #66 · 26.2K reputationPosted Jul 31, 2021, 8:07 AM EDT
Anupam MaitiRank #295 · 8.5K reputationPosted Jul 31, 2021, 7:15 AM EDT
You can try like below in layout file.
@Styles.Render("~/Content/css") @Scripts.Render("~/bundles/jquery")Example -
Jignesh KumarRank #91 · 22.9K reputationPosted Aug 1, 2021, 1:11 AM EDT