javascript - Precompile mustache templates or load externally? -
While compiling in JavaScript, you can load external mustache templates and do not clutter coffee files.
Actually, you can load the mastach file at runtime, but you need to call them with some performance penalties with an AJAX request.
I would like to precompile some static mustache templates and they can include them in a javascript function that can be in a file and compressed.
Is there a project or a script in it?
jsttojs template compiled / template / index.js --extent mustache - clock Or use the solution for the bell,
Comments
Post a Comment