JSPM

  • Created
  • Published
  • Downloads 25
  • Score
    100M100P100Q38645F
  • License Apache

Package Exports

  • chameleon-template-parse

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chameleon-template-parse) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

chameleon模板的转化,根据不同的平台,利用jsx可以编译html模板,实现 code(html模板) ==>parse ==> ast ==> traverse(我们对于ast的操作) ==> generate(code html模板的转化);

npm install

npm run dev

可以在test文件夹中测试模板转化

npm run build 生成混淆压缩代码;