I'm trying to create a library (vue3-lib) with vue3 and typescript based on primevue, that will be used in some other projects (like vue3-project). When running the vue3-lib everything works as expected, but when I'm running (npm run serve) the vue3-project I can't display the imported component from vue3-lib (I'm getting "[Vue warn]: Invalid VNode type: Symbol(Fragment) (symbol)" when accessing the Prime Test view). I'm just starting vue3 and the whole ecosystem, so any advice would help. Thanks!
Github: https://github.com/aitudor/vue3-lib https://github.com/aitudor/vue3-project
Symbol
s for some rendering work and although they look the same (i.e. upon debugging,Symbol(Fragment)
seems to be evaluated againstSymbol(Fragment)
which one could expect to match), they are not when they come from two different scripts. I’m facing the same issue as you and I don’t have a solution, unfortunately. – Remontantrender()
functions as opposed to using<template>
for the markup seems to make things work fine again. – Lessen