You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two applications built on Vue 2.7. When I try to share app1's component through module federation with app2, I find that I can't use such as "onMounted" composition api hook.
vue.runtime.esm.js:4448 [Vue warn]: onMounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().
Describe the bug
I have two applications built on Vue 2.7. When I try to share app1's component through module federation with app2, I find that I can't use such as "onMounted" composition api hook.
vue.runtime.esm.js:4448 [Vue warn]: onMounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().
Reproduction
https://github.com/Cybbin/pj-module-federation
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: