https://github.com/morlay/import-riotify
https://github.com/morlay/import-riotify
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/morlay/import-riotify
- Owner: morlay
- Created: 2015-07-23T13:40:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-30T01:54:39.000Z (almost 11 years ago)
- Last Synced: 2025-02-09T09:03:12.083Z (over 1 year ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# import-riotify
"import-riotify" is a browserify transformer for ".tag.html" files.
## Installation
npm install import-riotify
## Usage
use like [riotify](https://www.npmjs.com/package/riotify)
but there have new feature to make riot tag has module dependencies
``` html
```
use with browserify, this will be imported;
``` html
```
we can split the js in another file, but must return `function (opts){}`