Control js order


i would like to add carousel swipe bootstrap with bower. it depends of course on bootstrap carousel.

the problem is that it added to main.js but before bootstrap instead of after so i get errors says that bootstrap carousel is missing.

i tried to switch places / make overrides in the bower.json but its like shot in the dark.

what i am missing here? how can i control the js order?


i found the answer, thank you :slight_smile:

Well, what’s the answer?

i didn’t know about the “dependencies” property…

i found the answer here after some research:

1 Like