Would it be possible to use JQuery Bootstrap framework along with Aurelia?

混江龙づ霸主 提交于 2019-12-13 20:04:49

问题


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.

So far, all of the examples I have seen are using jQuery UI along with Aurelia.


回答1:


Take a look at the skeleton-navigation project. It uses bootstrap by default:

https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-es2016

The magic happens here

https://github.com/aurelia/skeleton-navigation/blob/master/skeleton-es2016/src/main.js#L1

import 'bootstrap';

Note that bootstrap is installed via JSPM.



来源:https://stackoverflow.com/questions/35492697/would-it-be-possible-to-use-jquery-bootstrap-framework-along-with-aurelia

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!