没有合适的资源?快使用搜索试试~ 我知道了~
html2template-hs:将html转换为模板超标
共17个文件
js:9个
md:3个
json:2个
需积分: 10 0 下载量 98 浏览量
2021-05-15
04:28:35
上传
评论
收藏 10KB ZIP 举报
温馨提示
html2template-hs 将html转换为模板hyperscript和virtual-hyperscript之类的! 这仍在实验中,因此可能更改,恕不另行通知 演示 var html2ths = require ( 'html2template-hs' ) ; var h = require ( 'hyperscript' ) ; var obj = { greeting : "hello!" } ; var hscript = html2ths . compile ( '<span>{{greeting}}</span>' , h ) ; console . log ( hscript ( obj ) . outerHTML ) ; // <span>hello!</span> docs (我将省略api的“ require”) api 注册助手 v
资源推荐
资源详情
资源评论
收起资源包目录
html2template-hs-master.zip (17个子文件)
html2template-hs-master
.eslintrc 254B
virtual-dom.js 238B
src
helpers.js 790B
compiler.js 539B
html-parser.js 1KB
hyperscript-converter.js 437B
virtual-dom-converter.js 1KB
template-engine.js 868B
.npmignore 67B
spec
support
jasmine.json 109B
html2Spec.js 7KB
handlebars-light.md 1KB
LICENSE.md 1KB
README.md 3KB
hyperscript.js 182B
.gitignore 41B
package.json 534B
共 17 条
- 1
资源评论
xianzhang
- 粉丝: 20
- 资源: 4594
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功