system-paperclip

1.0.2 • Public • Published

Paperclip precompiling plugin for SystemJS

Usage

Install it

Install with an alias of pc, so we can import 'tmpl.html!pc' instead of having to do import 'tmpl.html!system-paperclip'.

jspm install pc=npm:system-paperclip

Import

import compiled from './tmpl.html!pc';
import pc from 'paperclip';

// Pass the compiled function into pc.template to 'rehydrate'
var tmpl = pc.template(compiled);

Readme

Keywords

none

Package Sidebar

Install

npm i system-paperclip

Weekly Downloads

3

Version

1.0.2

License

none

Last publish

Collaborators

  • apiv