0.0.13 • Published 10 years ago

pattern-importer v0.0.13

Weekly downloads
2
License
MIT
Repository
github
Last release
10 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

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago