I have alot of js file in folder client/js/… It contain bootstrap.min.js, custom.js, jquery.js, responsive.js. But I can’t include it in main.html with each template.
I try:
Meteor.startup(function(){
$.getScript(‘js/custom.js’);
});
for example I need use some DOM, hover, anotation… so I must create some js file. So how I can include it into meteor project. It can’t loaded automatically, right
All files under client/ will be included in your build. However, they may not be included in a way which is usable by you.
From what you’ve said it sounds to me as though you are trying to build a Meteor app based on knowledge of other frameworks. That’s almost certainly not going to work out well for you.