1.0.6 • Published 1 year ago
zfml-transpiler v1.0.6
zfml-transpiler
This package can be used to compile wxml templates.(view source code here). It works just like wcc.exe, wcc.
Usage
npm i zfml-transpiler
const compiler = require('zfml-transpiler')
const fileList = [
'./pages/index/index.wxml',
'./common/head.wxml',
'./common/foot.wxml'
]
const res = compiler.wxmlCompile(fileList)
Liscense
MIT