abell-renderer:模板引擎,可让您使用JavaScript语法在HTML中编写变量,循环和条件

时间:2021-05-17 05:11:19
【文件属性】:
文件名称:abell-renderer:模板引擎,可让您使用JavaScript语法在HTML中编写变量,循环和条件
文件大小:103KB
文件格式:ZIP
更新时间:2021-05-17 05:11:19
template-engine abell abell-renderer JavaScript 未准备好用于生产 模板解析器,使您可以使用JavaScript语法来呈现循环,条件,进行数学运算以及需要HTML中的JSON。 使用的低级库 :rocket: 安装及使用 直接用执行 npx abell-renderer build --input src/index.abell --output dist/index.html 或者 npm install -g abell-renderer abell-renderer build --input src/index.abell --output dist/index.html 有关如何编写.abell文件的信息,请查阅《 。 :blue_book: Abell模板指南 .abell文件不过是.html文件,其中可以在双花括号{{和}}包含JavaScript。 请注意,abell-renderer在NodeJS上下文中呈现abell文件,这意味着您无法访
【文件预览】:
abell-renderer-main
----bin()
--------abell-renderer.js(4KB)
----package.json(2KB)
----.github()
--------FUNDING.yml(808B)
--------workflows()
----.prettierrc(88B)
----.prettierignore(35B)
----tests()
--------compiler.spec.js(2KB)
--------component-parser.spec.js(5KB)
--------hash.spec.js(864B)
--------resources()
--------render.spec.js(5KB)
--------scoped-css.spec.js(2KB)
--------__snapshots__()
--------utils()
--------post-compilation.spec.js(2KB)
----LICENSE(1KB)
----package-lock.json(256KB)
----CONTRIBUTING.md(1010B)
----src()
--------index.js(3KB)
--------compiler.js(4KB)
--------parsers()
--------utils()
----.npmignore(103B)
----.eslintrc.js(841B)
----examples()
--------cli-example()
--------read-file()
--------run.js(2KB)
--------minimal()
--------main()
--------with-components()
----.gitignore(2KB)
----CHANGELOG.md(4KB)
----README.md(6KB)
----.eslintignore(23B)
----.vscode()
--------settings.json(88B)

网友评论