0.3.8 • Published 9 years ago
flexite v0.3.8
Flexite
Flexite allows you to build static website fast using pug/css templates
Flexite is under construction...
Installation
npm install flexiteExample
var flexite=require('flexite');
flexite.getDemo('simplicity',(data)=>{
flexite.create(data).compile().export();
});"'demo.json' is located in 'templates/simplicity/', if you want to give a look"
Doc
- Vars
js flexite.data> Containing template data objectjs flexite.html> Containing compiled pug/css/jsFunctions
js flexite.create({data})> Push object to datajs flexite.compile()> Compile data to htmljs flexite.export()> Create html/json filesjs flexite.getDemo(template,callback)> Return demo Object data of the template
Templates
- simplicity