Open crapthings opened 11 years ago
This is a problem with the way meteor loads things, not necessarily with this package.
The files are loaded in alphabetical order, you have to make sure the .jade files are before the .coffee files .. You could just add _ in front of each jade file, to make sure.
It's said there is a way for a package to specify it wants to be loaded before some other, may be it would be the solution here ? I can't find any real information on how to do that though.
Thanks, I was struggling trying to understand why jade + coffee wouldn't work together, but now it makes sense. I'll prefix my jade file with an underscore :)
I think this is solved in meteor-jade v0.2.2
if put .jade and .coffee into same level folder meteor will load .coffee before .jade, then it causes no such template.
now i put .jade into a deep folder, but i think this is not convenient.