Skip to content

dbashford/mimosa-jade

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

mimosa-jade

Overview

This is a Jade compiler for the Mimosa build tool. This module is for use with Mimosa 2.0+. This replicates the functionality of the Jade compiler that was built into Mimosa before 2.0.

For more information regarding Mimosa, see http://mimosa.io

Usage

Add 'jade' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

This module will compile Jade files during mimosa watch and mimosa build.

This module utilizes all of the built-in template behavior that comes with Mimosa's basic template compiler. See the mimosa website for more information about how templates are treated or check out the various template configuration options.

Default Config

jade:
  lib: undefined
  extensions: [ "jade" ]
  compileOptions:
    compileDebug: false
  • lib: You may want to use this module but may not be ready to use the latest version of Jade. Using the lib property you can provide a specific version of Jade if the one being used by this module isn't to your liking. To provide a specific version, you must have it npm installed into your project and then provide it to lib. For instance: lib: require('jade'). To use a version of jade prior to 1.0, use mimosa-jade 1.0.1.
  • extensions: an array of strings, the extensions of your Jade files.
  • compileOptions: an object to be passed to jade.compile.

About

A Mimosa 2.0 module for Jade client template compiling

Resources

Stars

Watchers

Forks

Packages

No packages published