I’ve been browsing through threads ans docs but can’t figure out how to set a dynamic name to a child component. I’m talking about the name option, not the component name alias itself, as mentioned in the docs here : https://012.vuejs.org/api/options.html#name.
The purpose is only for easier debugging through vue-dev-tools.
If I declare a component with a name attribute in the parent () it will only render the alias name. I can find the passed name attribute under $attrs props but how can I set the name option inside the component itself ? I couldn’t find an answer so far.
I tried both setting the child component with classic declaration () and component instance (<component :is=“componentInstance” … />) but nothing work.
Thanks in advance for your help.