1👍
✅
Ok after a while i decided to re-read the documentation and i found this little paragraph which i didn’t read the first time :_)
Registration is not required if you pass the component itself to is rather than its name, e.g. in < script setup >.
Basically i modified my code like this
const loader = ref(true);
const resultPage = ref({});
this.getResult()
.then((response : boolean) => {
resultPage.value = response ? Success : Fail;
})
.finally(() => {
loader.value = false
})
I think this issue is also related to Vue component only shows up as <componentName> Tag and didnt gets rendered.
I’ll keep it here to avoid making another one like me lose 2 hours of time
Source:stackexchange.com