Would be great to have a syntax for comments. Like Handlebars does:
{{!-- comment block --}}
What's wrong with <!-- -->?
<!-- comment --> gets rendered in the output while {{!-- comment --}} don't. For code comments I think `{{!-- comment --}} is better.
But for production you should always use a minifier/uglifier, no? ;)
I guess you're right!
For production code if you minify your templates with html-minifier (included in both vueify and vue-loader), the comments will be stripped.
In 2.0 comments are ignored by default.
For the record, using Javascript multilines works for this purpose.
<template>
{{"I get rendered"}}
{{/* I do not */}}
</template>
Is there going to a setting in 2.0 to keep the comments?
https://jsfiddle.net/tf7ja0y4/
Would be nice to have a setting like ractive
Most helpful comment
Is there going to a setting in 2.0 to keep the comments?
https://jsfiddle.net/tf7ja0y4/
Would be nice to have a setting like ractive