Add API to register vue.js components from plugins in 3.5 (vue3) #9494
Labels
Bug:2:Major
A bug found in common paths that reduces functionality for a large number of users
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Issue
In Vue2 there was one global Vue instance (available via pkp.Vue) that allowed to globally register components and that was possible to use also from plugins.
In Vue3 there is no global Vue instance, where would be possible to globally register components.New vue instance is created everytime it needs to be mounted (can be multiple times on one page until we have fully vue.js app) and therefore also the global components are registered for each instance.
Solution
Create new API available to the plugins
Additionally expose vue module (to be able to use advance functions from vue, including composition api) via
The text was updated successfully, but these errors were encountered: