【文件属性】:
文件名称:ajade:异步渲染Jade模板引擎
文件大小:19KB
文件格式:ZIP
更新时间:2021-05-13 03:14:31
JavaScript
阿杰德
异步渲染Jade模板引擎。
用法(RequireJS)
安装:
bower install ajade
用法示例:
define([
'/path/to/ajade/index',
'/path/to/master_template.jade',
], function(
aJade,
tpl
) {
// tpl can be either jade source template or server side compiled
// render function. But in this case you will also need Jade-Runtime
// environment available.
var targetPage = $(".someSelector"); // jQuery
【文件预览】:
ajade-master
----yarn.lock(9KB)
----LICENSE(34KB)
----README.md(3KB)
----.gitignore(43B)
----index.js(7KB)
----package.json(546B)