system-paperclip
v1.0.2
Published
Paperclip.js plugin for systemjs
Readme
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-paperclipImport
import compiled from './tmpl.html!pc';
import pc from 'paperclip';
// Pass the compiled function into pc.template to 'rehydrate'
var tmpl = pc.template(compiled);