0.0.2 • Published 9 years ago
fis3-parser-vm v0.0.2
fis3-parser-vm
A parser for fis to compile velocity template.
###Usage
fis.match("**/page/**.html", {
parser: fis.plugin("vm")
});
root
├ page
| ├ index
| | | ├ index.html
| | | ├ index.css
| | | ├ index.js
| | | └ index.html.js
├ widget
| ├ header
| | | ├ header.html
| | | ├ header.css
| | | └ header.js
├ mock
| ├ common
| | | └ common.js
index.html.js
module.exports = {
foo: "bar"
}
common.js
module.exports = {
math: {
floor: function(num) {
return Math.floor(num);
}
}
}
###Options
0.0.2
9 years ago