Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
molukk
· 11y ago · 0 comments
If I read the documentation correctly, you can also pass it a string to be used as template. If the string starts with a '#' it will act as a querySelector.
http://vuejs.org/api/#template
Comments
[–]
recursive
11y ago
I love this feature. Putting html fragments in string literals in javascript seems pretty awkward to me.