[Vuejs]-Vue 3 dynamically loaded component hooks not called

0πŸ‘

βœ…

It appears that I had two instances of Vue running (one bundled with my package, with rollup, and one imported in the script itself), and for an unknown reason, none of the two was calling hooks.

By removing one of the instances (actually, passing vue as external in rollup build configuration) it now works well.

Leave a comment