systemjs-plugin-ko-tpl

2.0.0 • Public • Published

Knockout template loader plugin for SystemJS

NPM version Build Status

Will load templates into the document as script tags with id's corresponding to the name of the file.

Installing

For SystemJS use, locate the plugin file in the application, and then locate it with map configuration:

System.config({
  map: {
    tpl: 'path/to/knockout-tpl.js'
  }
});

Basic Use

import './template.ko!tpl';

Package Sidebar

Install

npm i systemjs-plugin-ko-tpl

Weekly Downloads

0

Version

2.0.0

License

ISC

Last publish

Collaborators

  • papandreou
  • gustavnikolaj