是否可以将JQuery Bootstrap框架与Aurelia一起使用? [英] Would it be possible to use JQuery Bootstrap framework along with Aurelia?
问题描述
是否可以在Aurelia中使用jQuery Bootstrap? Bootstrap附带了一些我想使用的切换按钮和其他组件.
Would it be possible to use jQuery Bootstrap with Aurelia? There are some toggle buttons and other components I would like to use that come with Bootstrap.
到目前为止,我所看到的所有示例都将jQuery UI与Aurelia一起使用.
So far, all of the examples I have seen are using jQuery UI along with Aurelia.
推荐答案
看看骨骼导航项目.默认情况下,它使用引导程序:
Take a look at the skeleton-navigation project. It uses bootstrap by default:
https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-es2016
魔术发生在这里
https://github.com. com/aurelia/skeleton-navigation/blob/master/skeleton-es2016/src/main.js#L1
import 'bootstrap';
请注意,引导程序是通过JSPM安装的.
Note that bootstrap is installed via JSPM.
这篇关于是否可以将JQuery Bootstrap框架与Aurelia一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!