1.0.4 • Published 8 years ago

jspm-riot v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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.

1.0.4

8 years ago

1.0.3

8 years ago

2.0.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago