Add API to register vue.js components from plugins in 3.5 (vue3) #9494
Labels
Bug:2:Moderate
A bug that is causing problems for a substantial minority of users.
Milestone
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: