External js files conflict


#1

Hi all!
I’m having an issue with some external js files (bootstrap et jQuery) that come with a bootstrap template. I had placed the files under /client/lib/external/. The problem is that these js files seem to be loaded in every html file of my project even if they are not needed and cause conflict with a semantic ui accordion. Is there a way to prevent external js files from being loaded in certain files ?
Thanks for your help.


#2

Problem solved. My mistake. The js files were under /lib/external and therefore run on both client and server. I placed the bootstrap file under /client/lib/compatibility and removed the JQuery file in order to use the internal version that comes with Meteor. Things seem to work fine now.


#3

I also added twbs:bootstrap package, so there is no need for external boostrap.js. The template is ZontalAdmin if someone is interested.