This is a migrated thread and some comments may be shown as answers.

Javascript & CSS Resource Optimization

1 Answer 219 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jako
Top achievements
Rank 1
Jako asked on 18 Dec 2014, 12:56 PM
Hello

I just wanted to know if all these resources are required for kendo ui with bootstrap. What would be the easiest solution to determine the minimum required resources for your project.

As can see the Javascript is about 2166kb which is quite big.


Help much appreciated



Below is my bundleconfig:
bundles.Add(new StyleBundle("~/Content/kendo/2014.3.1119/css").Include(
           "~/Content/kendo/2014.3.1119/kendo.common-bootstrap.min.css",
           "~/Content/kendo/2014.3.1119/kendo.bootstrap.min.css",
           //"~/Content/kendo/2014.2.903/kendo.mobile.all.min.css",
           "~/Content/kendo/2014.3.1119/kendo.dataviz.min.css",
           "~/Content/kendo/2014.3.1119/kendo.dataviz.bootstrap.min.css",
           "~/Content/assets/css/bootstrap.css"));
 bundles.Add(new StyleBundle("~/Content/assets/cas").Include(
         "~/Content/assets/js/gritter/css/jquery.gritter.css",
         "~/Content/assets/css/font-awesome.css",
          "~/Content/assets/css/style.css",
          "~/Content/assets/css/style-responsive.css",
         "~/Content/custom.css"
          ));
 bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
           "~/Scripts/kendo/2014.3.1119/jquery.min.js"     
           ));
 bundles.Add(new ScriptBundle("~/bundles/kendo/js").Include(
            "~/Scripts/kendo/2014.3.1119/kendo.all.min.js",
            "~/Scripts/kendo/2014.3.1119/kendo.aspnetmvc.min.js"
     //  , "~/Scripts/kendo.modernizr.custom.js"
));   
bundles.Add(new ScriptBundle("~/bundles/exstra/js").Include(
           "~/Content/assets/js/bootstrap.min.js",
           "~/Content/assets/js/jquery.dcjqaccordion.2.7.js",
           "~/Content/assets/js/gritter/js/jquery.gritter.js",
           "~/Content/assets/js/common-scripts.js"
           ));

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 18 Dec 2014, 03:09 PM
Hi Jako,

To customize your javascript source download, including the aspnetmvc client script, you can take advantage of our Custom Download Builder tool. It is accessible to Kendo UI users with active commercial license for the product.

Kind regards,
Sebastian
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Jako
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or