Is it feasible to retrieve an instantiated Vue.js component object from the global JavaScript scope with Vue.js, or are these objects encapsulated within Vue's internals?
For instance, when I have code defining a component like this:
Vue.component('component-name', {
/*...*/
});
and then utilize that component in a tag:
<component-name>
/* able to use templates with component object variables like {{foo}}
</component-name>
Behind the scenes, Vue's template rendering involves manipulating a JavaScript object. Is there a method for me to peek at the instantiated Vue component object programmatically? Something akin to:
var theComponent = getInstantiatedComponent('component-name');
While I'm familiar with the Vue.js Chrome debugger tool, I am specifically interested in whether there is a way to access these objects through code and what the syntax would be (as my understanding of Chrome Plugins is not advanced enough to explore the debugger plugin).