Angular 5.2 app: how to force (check) jQuery to be loaded before Bootstrap?

时间:2018-03-25 19:31:03

标签: jquery angular twitter-bootstrap bootstrap-4 angular-cli

I'm working on an app generated using JHipster 4.14.1, which uses Angular 5.2.0. In this project, I also need to use Bootstrap 4.0.0 and jQuery 3.3.1. Since Bootstrap depends on jQuery, I must configure the app in such a way that jQuery is loaded before Bootstrap, otherwise it will not work. Here are two related questions:

So, my question is: where can I specify the order in which the scripts have to be loaded in an Angular 5.2 app?

0 个答案:

没有答案