riot-compiler

Compiler for riot .tag files

MIT 50 个版本
安装
npm install riot-compiler
yarn add riot-compiler
pnpm add riot-compiler
bun add riot-compiler
README

Build Status Issue Count Coverage Status NPM version NPM downloads MIT License

Documentation

Installation

Npm

$ npm install riot-compiler --save

Read more in the doc folder and the CHANGELOG

Please note: the documentation is a work in progress. Contributions are welcome.

For babel users

  • babel - For babel-core v6.x - You must npm install babel-preset-es2015-riot too, for this to work.
  • babel - For @babel/core v7.x - You must set the option "module": "false" in order to compile your tags properly

Known Issues

  • Expressions within attribute values containing > must be enclosed in quotes. Ex: <mytag hidden="{ a > 5 }">.
  • Shorthands within attributes parsed by CoffeeScript must be prefixed with a caret: <mytag class="{^ c:1 }">
版本列表
4.0.0-alpha.0 2018-12-29
3.6.0 2019-03-03
3.5.3 2019-01-04
3.5.2 2018-11-25
3.5.1 2018-05-10
3.5.0 2018-05-10
3.4.0 2017-12-24
3.3.1 2017-12-23
3.3.0 2017-12-09
3.2.6 2017-10-27
3.2.5 2017-09-19
3.2.4 2017-06-22
3.2.3 2017-06-04
3.2.2 2017-05-20
3.2.1 2017-02-19
3.2.0 2017-02-18
3.1.4 2017-02-04
3.1.3 2017-02-04
3.1.2 2017-01-22
3.1.1 2016-12-05
3.1.0 2016-12-04
3.0.0-alpha.5 2016-11-16
3.0.0-alpha.4 2016-11-15
3.0.0-alpha.3 2016-10-11
3.0.0-alpha.2 2016-10-01
3.0.0-alpha.1 2016-04-25
3.0.0 2016-11-19
2.5.7 2016-11-16
2.5.6 2016-11-15
2.5.5 2016-09-06
2.5.3 2016-08-12
2.5.2 2016-06-21
2.5.1 2016-06-17
2.5.0 2016-06-12
2.4.1 2016-05-05
2.3.23 2016-03-10
2.3.22 2016-01-24
2.3.20 2016-01-09
2.3.19 2015-12-15
2.3.18 2015-12-13
2.3.16-beta 2015-12-12
2.3.13 2015-11-20
2.3.12 2015-11-19
2.3.11 2015-11-15
2.3.1 2015-11-09
2.3.0-beta.6 2015-10-29
2.3.0-beta.5 2015-10-29
2.3.0-beta.4 2015-10-21
2.3.0 2015-10-30
2.0.0-beta 2015-08-18