wrapbootstrap主题与AngularJS问题 [英] wrapbootstrap Theme with AngularJS Issue

查看:262
本文介绍了wrapbootstrap主题与AngularJS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Wrapbootstrap主题ACE模板 https://wrapbootstrap.com/主题/ ACE响应管理员模板 - WB0B30DGR与AngularJS 的,但它没有很好地工作;侧边栏和设置不能正常工作;如果我删除AngularJS,它工作正常;我认为这个问题是相关的JavaScript文件的加载和负载角之前执行和呈现谐音主题;我想知道如何加载主题脚本(两个脚本王牌elements.js,ace.js)和角说完之后执行它们自己的工作;

I am using a Wrapbootstrap Theme ACE Template https://wrapbootstrap.com/theme/ace-responsive-admin-template-WB0B30DGR with AngularJS but it doesn't work fine; The sidebar and settings not works correctly; If i removed AngularJS, it Works fine; I think the Problem is related to the theme JavaScript files are loaded and executed before Angular load and render the partials; I want to know how to load Theme Scripts(two scripts ace-elements.js, ace.js) and execute them after the Angular finish his work;

推荐答案

只是固定我的问题,根据你说的一个线索。我搬到了两(ACE-元素和ACE)javescript文件到年底,角度做了所有经过它的东西,突然菜单切换按钮,这是工作在电脑上而不是在移动设备上工作!

Just fixed my issue, based on a clue you said. I moved the two (ace-elements and ace) javescript files to the end, after angular did all it's thing and suddenly the menu toggle button which was working on a PC but not on a mobile device worked!

这篇关于wrapbootstrap主题与AngularJS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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