Closed
Description
re: http://vuejs.org/guide/composition.html
I might suggest removing thje id="#test" from
div id="test" v-component="my-component">
<p>original content</p>
</div>
In all the other examples where an id is used, it's used as a target for a viewmodel. However, since viewmodels can only use components on descendant elements, the naive beginner finds their code not working when targeting the #test div.
Metadata
Metadata
Assignees
Labels
No labels