fengine
A development tool for f2e
Getting started
Install
$ npm install -g fengine
Introduction
if you have installed fengine
, you can run fengine by command:
$ fengine
and use:
$ fengine -h
for help.
you can config server by fengine.yml
under server root:
port:
80
base:
/html
layout:
/layout/layout.html
data:
version:
0.0.1
watch:
- .xml
- .tpl
tags:
data:
- {{
- }}
directive:
- <!--
- -->
port
: server port. {Number}
base
: the base dir of where the file transform start. {String}
layout
: default layout file. {String}
data
: the data of template. {Object}
watch
: the extname of file want to be transform. {Array}
tags
: the tags of file template engine. {Object}
Documentation
fengine wiki
License
MIT