1.0.10 • Published 6 years ago

stc-localstorage v1.0.10

Weekly downloads
45
License
-
Repository
github
Last release
6 years ago

todo

DEMO

var localstorage = require('stc-localstorage');

// var localstorageAdapter = require('stc-localstorage-smarty');
// var localstorageAdapter = require('stc-localstorage-php');
// var localstorageAdapter = require('stc-localstorage-ejs');
var localstorageAdapter = require('stc-localstorage-nunjucks');

stc.config({
  workers: 4,
  cluster: false,
  cache: false,
  include: ['template/', 'resource/'],
  tpl: {
    engine: 'nunjucks',
    extname: 'nunjucks',
    ld: ['{%', '{{'],
    rd: ['%}', '}}'],
  }
});

stc.workflow({
  Localstorage: {
    plugin: localstorage,
    include: /\.tpl$/,
    options: {
      adapter: localstorageAdapter,
      minLength : 200,
      appId : 'd8e8fca2'
    }
  },
});

stc.start();
1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

7 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago