Ejemplo n.º 1
0
 private static void RegisterStyleBundles(BundleCollection bundles)
 {
     //lib
     bundles.RegisterStyle(Bundles.Styles.Bootstrap, Cdns.BootstrapCss, "~/Content/bootstrap-{version}.css");
     bundles.RegisterScript(Bundles.Styles.FontAwesome, Cdns.FontAwesome, "~/Content/font-awesome-{version}.css");
     //app
     bundles.RegisterStyle(Bundles.Styles.Global,
                           "~/Content/app/global.css",
                           "~/Content/app/loader.css",
                           "~/Content/app/validation.css");
     bundles.RegisterStyle(Bundles.Styles.Login, "~/Content/app/login.css");
 }
Ejemplo n.º 2
0
 private static void RegisterStyle(this BundleCollection bundles, string virtualPath, params string[] path)
 {
     bundles.RegisterStyle(virtualPath, null, path);
 }