1.0.0 • Published 8 years ago

sqs-jade v1.0.0

Weekly downloads
6
License
ISC
Repository
github
Last release
8 years ago

Squarespace-Jade-Stylus

This plugin allows you to write Jade and Stylus when developing templates on the Squarespace Developers Platform. It automatically compiles and runs the css through autoprefixer.

You will still need to include your compiled .region files in templates.conf.

Directions

npm install sqs-jade
npm install -g nodemon

In your index.js file require and invoke the compile script.

var compileJade = require('squarespace-jade');

compileJade();

To run the jade compile script open a new terminal window and enter the following.

nodemon -e jade,js

If you are using this in conjunction with squarespace-jade use the following command instead.

nodemon -e jade,stylus,js

Nodemon watches for any changes to your template files and will automatically re-compile to the correct directory.