You have to use Atmosphere's Jade package, there isn't yet one available as of this writing (Meteor 0.8.0).
- You have to name your jade files
file_name.jade.html
, it gets interpreted correctly as jade but gets loaded in the correct order (otherwise you get clueless undefined var errors). - You have to use the
+template_name
syntax in.jade.html
files, instead of regular{{> template_name}}
. - It is preferred to use the
#{variable}
syntax to{{variable}}
syntax in jade files.
The packages being used, can be installed issuing:
$ meteor add coffeescript
$ npm install -g meteorite
$ mrt add jade
Afterwards you will have to use the mrt
command instead of meteor
, just remember that.
- Meteor
- Meteor Documentation
- [Atmosphere/Meteorite](https://atmospherejs.com/docs/installing Atmosphere and Meteorite Package Manager)
- Meteor Jade Package
Gabriel Medina
[email protected]