jspm-riot

1.0.4 • Public • Published

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:

import 'example.tag!'

License

This project is licensed under the terms of the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i jspm-riot

Weekly Downloads

1

Version

1.0.4

License

MIT

Last publish

Collaborators

  • markwylde