jspm-riot
v1.0.4
Published
A riot plugin for System.JS and/or JSPM to load tag files while keeping ES6 support
Downloads
19
Readme
jspm-riot
This is a SystemJS/JSPM library for compiling riot tags before requiring them using es6 import syntax. It is implemented in under 5 lines of code, and only depends on the riot compiler.
Example
You can see an example of a Riot Redux Boilerplate that uses this library to require in tag
files.
Installation
To install simply run:
jspm install tag=npm:jspm-riot
Note jspm-riot also supports riot@next:
jspm install tag=npm:[email protected]
Usage
To use you can import as below. Please note the exlamation point at the end:
import 'example.tag!'
License
This project is licensed under the terms of the MIT license.