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

Use only necessary packages

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nithin
Top achievements
Rank 1
Nithin asked on 25 Jun 2018, 12:23 PM
Hi,
Currently I'm using kendo.all.min.js in our application which is load from overrides in bower.json.But whenever I tried to load only the required packages like kendo.datepicker.min.js, kendo.scheduler.min.js etc in the bower.json file the applications shows module error with kendo.directive.

Is it possible to load separate packages for each component without causing module error or is it better to load only kendo.all.min.js file?
Which way is better for performance in application?

1 Answer, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 27 Jun 2018, 11:07 AM
Hi,

Yes, you can load only the scripts and components you need. We've dedicated a whole section in our documentation on this topic, and you can check it out here

As long as the dependencies of each widget are met, you shouldn't have any issues. You can find the individual dependencies in the Individual Scripts section of the article.

Please give it a go, and if you have any issues feel free to write back.

Regards,
Bozhidar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Nithin
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or