Comment on Show HN: Moon – 3kb JavaScript UI compilerparentComments−ppseafield8yIIRC for Vue.js it goes on the child, i.e. <ul> <li v-for="item in items">[...]</li> </ul> It is something you do have to remember. I believe you can use a template tag too if you like.−sbjs8yAh right, thanks. Yes this always looks backwards to me. The body of a loop should be inside of it. But here it is the body of the loop. That is very strange.
Comments
IIRC for Vue.js it goes on the child, i.e.
It is something you do have to remember. I believe you can use a template tag too if you like.Ah right, thanks. Yes this always looks backwards to me. The body of a loop should be inside of it. But here it is the body of the loop. That is very strange.