Skip to content

HumanDesign/squarespace-jade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Squarespace-Jade-Stylus

This plugin allows you to create templates in Jade when developing templates on the Squarespace Developers Platform.

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 on file change, 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published