【发布时间】:2013-10-23 09:50:18
【问题描述】:
我一直试图将 AngularUI 连接到 Bootstrap 3,但无济于事。我在这里从 bootstrap 3 分支获取了适当的 AngularUI 代码: https://github.com/angular-ui/bootstrap/tree/bootstrap3_bis2
我选择了 AngularUI 工具提示指令作为一个简单的“测试用例”,看看我是否可以把它全部连接起来。
我收到的错误是: 未捕获的错误:没有模块:ui.bootstrap
我在下面分享了一个带有 src 代码的 Dropbox 链接。
Views/Home/index.cshtml contains the markup with references to angularjs and bootstrap
js/directives contains the only directive I am currently testing out which is the "tooltip" directive.
带有 src 代码的 Dropbox 链接 https://www.dropbox.com/sh/elwn0su5qwnqa27/zetaMxAa4Q
我不必下载 bootstrap 3 指令并将它们手动放置在我的项目中,现在是否有一个 CDN 可用于 AngularUI-Bootstrap3 指令,就像 AngularUI-Bootstrap2 一样?
感谢您的帮助,
V/R
克里斯
【问题讨论】:
-
我已经成功使用了没有 angular-ui bootstrap3 分支的 Bootstrap 3。我使用了带有模板的 ui-bootstrap 0.6.0 的自定义构建,还使用了 angular-ui 掩码和事件,没有问题。我还要补充一点,我已经毫无问题地使用了工具提示指令。
标签: angularjs angular-ui angular-ui-bootstrap