The Kendo UI directives require jQuery to be avail

2019-05-03 12:34发布

问题:

Why kendo load before Jquery in angular routing template with Kendo grid.

I have ordered the scripts, while clicking any event through angular routing templates getting this error in console.

Note: In page refresh, scripts loaded properly, the application works fine, not getting any error.

Only occurred in event routing. kendo load before jquery why.

order scripts :

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
    <script src="https://code.angularjs.org/1.3.8/angular.js"></script>
    <script src="//kendo.cdn.telerik.com/2016.2.714/js/kendo.all.min.js"></script>
    <script src="https://code.angularjs.org/1.3.8/angular-sanitize.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.3.1/angular-ui-router.js"></script>

回答1:

I had the same issue: I was loading jQuery twice.



回答2:

Had the same issue. Resolved it by using the jQuery and angular that comes bundled with kendo