Introductions
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.
Installation
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,
npm install -g blade
cmd.exe
Now find your
npm/node_modules/blade
Meteor/packages
C:\Users\Mark\AppData\Roaming\npm\node_modules\blade
C:\Program Files (x86)\Meteor\packages
Inside the
node_modules/blade
Now go into
npm/node_modules/blade/lib
Meteor/packages/blade
Now edit
Meteor/packages/blade/package.js
To point to the proper node module, e.g.,
blade = require('../../packages/blade/node_modules/blade');
That's it.
blade = require('C:/Users/Mark/AppData/Roaming/npm/node_modules/blade');
Adding blade to your Meteor project
Justcd
meteor add blade
Usage is explained on the official Blade wiki.
(Sorry for the terrible formatting, those are supposed to be inline code blocks... I hate WordPress)
0 comments:
Post a Comment