app.config.compilerOptions.isCustomElement = tag => tag === 'element-name';
You need to inform Vue that the element is a custom elements.... because Vue 3 automatically treats custom elements as Components but in this case the component was not registered....