Open sersorrel opened 1 year ago
$vm (and $vm0. $vm1, etc.) should be documented in some way, either in the documentation somewhere or (preferably) by showing them in the devtools window like they apparently used to be marked, e.g. https://github.com/vuejs/devtools/issues/182#issuecomment-263177778:
$vm
$vm0
$vm1
I spent several minutes trying to work out how to access a component from the JS console, only eventually figuring out from old issues on this repository that I can select a component and refer to it as $vm.
What problem does this feature solve?
$vm
(and$vm0
.$vm1
, etc.) should be documented in some way, either in the documentation somewhere or (preferably) by showing them in the devtools window like they apparently used to be marked, e.g. https://github.com/vuejs/devtools/issues/182#issuecomment-263177778:I spent several minutes trying to work out how to access a component from the JS console, only eventually figuring out from old issues on this repository that I can select a component and refer to it as
$vm
.