(MVC) MVC (2018)

<<назад BundleConfig.vb (Contoso University).

   1:  Imports System.Web.Optimization
   2:   
   3:  Public Module BundleConfig
   4:      ' For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
   5:      Public Sub RegisterBundles(ByVal bundles As BundleCollection)
   6:   
   7:          bundles.Add(New ScriptBundle("~/bundles/jquery").Include(
   8:                      "~/Scripts/jquery-{version}.js"))
   9:   
  10:          bundles.Add(New ScriptBundle("~/bundles/jqueryval").Include(
  11:                      "~/Scripts/jquery.validate*"))
  12:   
  13:          ' Use the development version of Modernizr to develop with and learn from. Then, when you're
  14:          ' ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
  15:          bundles.Add(New ScriptBundle("~/bundles/modernizr").Include(
  16:                      "~/Scripts/modernizr-*"))
  17:   
  18:          bundles.Add(New ScriptBundle("~/bundles/bootstrap").Include(
  19:                    "~/Scripts/bootstrap.js"))
  20:   
  21:          bundles.Add(New StyleBundle("~/Content/css").Include(
  22:                    "~/Content/bootstrap.css",
  23:                    "~/Content/site.css"))
  24:      End Sub
  25:  End Module


Comments ( )
Link to this page: //www.vb-net.com/EF-missing-FAQ/Code/BundleConfig.vb.htm
< THANKS ME>