wxml-transpiler
v1.0.5
Published
template compiler for wxml
Downloads
98
Readme
wxml-transpiler
This package can be used to compile wxml templates.(view source code here). It works just like wcc.exe, wcc.
Usage
npm i wxml-transpiler
const compiler = require('wxml-transpiler')
const fileList = [
'./pages/index/index.wxml',
'./common/head.wxml',
'./common/foot.wxml'
]
const res = compiler.wxmlCompile(fileList)
Liscense
MIT