import-riotify

0.0.3 • Public • Published

import-riotify

"import-riotify" is a browserify transformer for ".tag.html" files.

Installation

npm install import-riotify

Usage

use like riotify

but there have new feature to make riot tag has module dependencies

<link href='/path/to/dependence/file.css'/>
<link rel='import' href='/path/to/dependence/file.tag.html'/>
 

use with browserify, this will be imported;

<script src='/path/to/tag/controller.js'/>
 

we can split the js in another file, but must return function (opts){}

Package Sidebar

Install

npm i import-riotify

Weekly Downloads

0

Version

0.0.3

License

ISC

Last publish

Collaborators

  • morlay_null