How to access jQuery/Bootstrap/etc definitions in Meteor?
Since Meteor apps don't use typical script elements to load jQuery, Bootstrap, etc, how can I include these in the IDE so that when I use things like:
$('#location').modal('show');
It doesn't underline modal and say it's an unresolved method or function?
请先登录再写评论。
to make IDE recognize these methods, you need adding meteor packages as a library to your project. The easiest way to do this is clicking the
'Import packages as library' link in the upper right corner of your .meteor/packages file
Whoa!! Very cool trick! Thanks :) WebStorm keeps amazing me every day I use it.