UNPKG
wxml2axml
Version:
latest (0.0.9)
0.0.9
0.0.8
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
wxml to axml
github.com/4013465w/wxml2axml
4013465w/wxml2axml
wxml2axml
/
test.js
7 lines
(6 loc)
•
183 B
JavaScript
View Raw
1
2
3
4
5
6
7
let
wxml2axml = require(
'./index'
)
let
str = `<import src=
"../../template/score.axml"
/> <import src=
"../../template/tags.axml"
/> `
let
out
= wxml2axml.compiler(str); console.log(
out
)