0.0.13 • Published 9 years ago

pattern-importer v0.0.13

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Pattern Importer

A node module for importing HTML patterns following the Pattern Library model.

pattern-importer takes a batch of pre-compiled templates (twig, swig, plain html, etc), with their supporting javascript files, and pre-compiled stylesheets (sass, less, plain css, etc) and converts them to HTML, CSS, and Javascript. It also replaces {{dataPlaceholders}} with default data from the patterns, or your project's data set.

Installation

Install pattern-importer in your project:

`npm install pattern-importer`

Usage

General Usage

  1. Add the pattern-library as a npm dependency:

    npm install pattern-library
  2. Require the gulp task in your gulpfile.js (See the complete Gulp task details first)

    var importPatterns = require('pattern-importer').gulpImportPatterns(gulp,options);

  3. Trigger the gulp task

    gulp patterns-import

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago