I do instantiate app with one child component, and fire an event from the app.
However, children is not able to receive it.
Any thoughts why it doesn't work?
update
What we (+@crswll) have found - it's possible to make it work, if register "children" as component (and without instantiating it as new Vue). However, in this case, I am limited using el property, and forced to use <children></children> notation.
Any thoughts of how to keep the el ?
Hi,
Could someone take a look on this jsfiddle, please.
http://jsfiddle.net/yMv7y/961/
I do instantiate app with one child component, and fire an event from the
app
. However,children
is not able to receive it.Any thoughts why it doesn't work?
update What we (+@crswll) have found - it's possible to make it work, if register "children" as component (and without instantiating it as
new Vue
). However, in this case, I am limited usingel
property, and forced to use<children></children>
notation. Any thoughts of how to keep theel
?Regards,