- el: can be string | HTMLElement, but never body or html
- Vue Global Components will not work in some html structure
- template: you can configure the directive prefix to start with data-
- templte: you cannot have more than one root node
- templates:no comments
- You cant edit
</head>
tag with vuejs, aleast not without a extra plugin - dom: manual dom manipulation on an element inside vuejs
el:
element may not behave as you expect as it must first reflect on virtual dom- https://jsfiddle.net/mckabue/fufv4wct/2/ (even more wierd on IE11)
- https://jsfiddle.net/mckabue/qoubsdrk/5/
- performance: on every keystroke, the dom gets repplied; if you use methods they will be called that many times
- Comments Support
- control flow (directives) as comment syntax (like knockoutjs -
<!--ko if: value--><!--/ko-->
) - ability to add normal HTML comments in templates to complement HTML
- control flow (directives) as comment syntax (like knockoutjs -
- Templates
- templates with more than one root element