I need to do some stuff in the ready: of the root instance only when some components don\'t exist (they weren\'t declared in the HTML).
ready:
How can I check if a
To check if a global component exists:
let componentExists = 'componentName' in Vue.options.components
To check if a imported component exists in a component:
let componentExists = 'componentName' in this.$options.components