Would it be possible to use JQuery Bootstrap frame

2019-08-10 21:37发布

问题:

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.