eco icon indicating copy to clipboard operation
eco copied to clipboard

Update manual

Open sstephenson opened this issue 14 years ago • 3 comments

Document the command-line compiler, eco(...), eco.compile(...), templates as Node modules, rendering templates in the browser, and the in-browser compiler.

sstephenson avatar May 24 '11 15:05 sstephenson

Would love to see how to use this in the browser, especially with precompiled templates. Struggling to piece it all together, and not getting it to output much of anything yet.

xentek avatar Dec 15 '11 19:12 xentek

Sorry for the lack of documentation here. I don't have a lot of time to spend on Eco.

There's an example of using the compiler in the browser here: http://sstephenson.github.com/eco/ (dist.js may be a bit out of date...)

sstephenson avatar Dec 15 '11 21:12 sstephenson

Yeah I get that. I ended up using handlebars, but will play with eco again (love the erb style better than the moustache style) once I've got a better handle on eco

xentek avatar Dec 15 '11 23:12 xentek