If you are looking to access the innerHTML of a child component from the parent component in Vue, you can consider using Vue Child Component Refs.
To achieve this, simply add a ref attribute to your child component:
<child-component ref="mychildcomponent">
<div>Hello</div>
</child-component>
Then in the parent methods, you can use the following code:
let childEl = this.$refs.mychildcomponent
This will allow you to reference the entire child component. To get the innerHTML, you can go a step further with code like this:
let childEl = this.$refs.mychildcomponent.$el.innerHTML
By doing so, you will obtain a string containing the innerHTML of the child component.
For more information on this topic, you can refer to the following link: https://v2.vuejs.org/v2/guide/components.html#Child-Component-Refs
Alternatively, if you want to retrieve the innerHTML directly from the child component itself, you can use the following method:
let componentHTML = this.$el.innerHTML
I hope this explanation proves useful to you.