Vue.js versions
1.0.26, 2.0.0-rc.3
Reproduction Link
fiddle 1.0.26
fiddle 2.0.0-rc.3
What is Expected?
expected dom structure will be the same in directive bind hook and after tick from it
What is actually happening?
in bind hook <comp /> is #docuement-fragment (or null in 2.0)
after tick from bind it <div><p>...</p></div>
I know, may be it'is not a bug. Slots compiles under parent of component that has slots (root instance in this case), and may be it is not possible to bind directives after slot component is "in dom" but who knows?