grondje / grondje.github.io

0 stars 0 forks source link

Use any JS template engine #1

Open soylent-grin opened 9 years ago

soylent-grin commented 9 years ago

Now, you store card template exactly in your main code file as HTML. There are some engines, that make JS templating much easier to work with - one, two. Choose one of them and use it in your app. I suggest Lodash, because it contains cool functional helpers, not only template engine.