Meteor is a hot new Node-based web development framework.
Blade is a templating language based on Jade, which is a bit similar to Haml.
Windows 8 is an operating system that no one but me likes.
I’m assuming you’re already up and running with Node.
Meteor isn’t officially supported on Windows yet, so you have to install it a bit differently than suggested on their docs. Fortunately, someone has created an .msi installer for us. Run it.
If you haven’t done so,
. If “npm” isn’t a registered command, check your Start Screen for “Node.js Command Prompt” and use that instead of that standard
. It should have all the paths set up correctly for you.
Now find your
folders. Mine are located at
folder there should be another folder called “meteor”. Copy and paste this in-place to make a duplicate, then rename your copy to “blade”. We want to rename it before we move it because there is a folder in the meteor packages called “meteor” already. Now cut-and-paste your new folder into Meteor/packages.
Now go into
and copy all the files inside there into your newly created
and change this line:
blade = require('../../packages/blade/node_modules/blade');
To point to the proper node module, e.g.,
blade = require('C:/Users/Mark/AppData/Roaming/npm/node_modules/blade');
Adding blade to your Meteor project
into your project folder and
Usage is explained on the official Blade wiki.
(Sorry for the terrible formatting, those are supposed to be inline code blocks… I hate WordPress)
Leave a comment