@ipackage/template
v1.0.0
Published
## 规则 * 仅支持`String`、`Number`、`Boolean`类型 * 导出为文本格式 * 根为对象或数组,数据结构当前仅为`Object`、`Array` * `@'x'` 后为可在编译阶段替换的数据 * `'x'` 后为编译后非string的数据
Downloads
7
Readme
模版编码
规则
- 仅支持
String
、Number
、Boolean
类型 - 导出为文本格式
- 根为对象或数组,数据结构当前仅为
Object
、Array
@'x'
后为可在编译阶段替换的数据'x'
后为编译后非string的数据
js解析引擎方法
parse
将文本转为js对象preCompile
将在预编译阶段替换某些内容compile
编译文本
迭代
- c++引擎