fis-parser-template
template.js的fis编译插件。
安装
$ npm install --save @templatejs/runtime # 安装template运行时 # $ npm install --save template_js # 也可以安装template $ npm install -g fis-parser-template
配置
配置参数同template.js参数一样,其中global参数代表template.js的全局名称。
fis2
//设置编译器fisconfig;//自定义参数fisconfig;
fis3
fis;
js中如何使用
const template = ;const tpl = ; const html = ;