Kendo UI指令要求jQuery在具有Html5mode的路由模板中的带有Kendo网格的AngularJS之前可用 [英] The Kendo UI directives require jQuery to be available before AngularJS with Kendo grid in routing template with Html5mode

查看:76
本文介绍了Kendo UI指令要求jQuery在具有Html5mode的路由模板中的带有Kendo网格的AngularJS之前可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么在具有Kendo网格的角形路由模板中,kendo会在Jquery之前加载.

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.

仅在事件路由中发生. kendo在jquery之前加载.

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>

推荐答案

我遇到了同样的问题:我两次加载了jQuery.

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

这篇关于Kendo UI指令要求jQuery在具有Html5mode的路由模板中的带有Kendo网格的AngularJS之前可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆