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:jspm-riot@2.0.0
Usage
To use you can import as below. Please note the exlamation point at the end:
License
This project is licensed under the terms of the MIT license.