https://github.com/one-com/systemjs-plugin-ko-tpl
SystemJS plugin for loading Knockout.js Templates
https://github.com/one-com/systemjs-plugin-ko-tpl
Last synced: about 2 months ago
JSON representation
SystemJS plugin for loading Knockout.js Templates
- Host: GitHub
- URL: https://github.com/one-com/systemjs-plugin-ko-tpl
- Owner: One-com
- Created: 2016-06-10T11:08:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T07:47:27.000Z (over 8 years ago)
- Last Synced: 2025-03-07T06:17:03.525Z (3 months ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Knockout template loader plugin for SystemJS
[](http://badge.fury.io/js/systemjs-plugin-ko-tpl)
[](https://travis-ci.org/One-com/systemjs-plugin-ko-tpl)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:
```javascript
System.config({
map: {
tpl: 'path/to/knockout-tpl.js'
}
});
```## Basic Use
```javascript
import './template.ko!tpl';
```