vuejs-dialog icon indicating copy to clipboard operation
vuejs-dialog copied to clipboard

Being able to pass router to new adhoc Vue instance

Open Benal78 opened this issue 4 years ago • 0 comments

While using component in vuejs-dialog, the component may rely on router. Unfortunately as the vuejs-dialog is creating a new dedicated Vue root, the existing plugin are not passed...

This solution, allow to pass any plugin to vuejs-dialog new root...

caller code sample

Vue.use(VuejsDialog, { forwardPlugin: { router } } );

Benal78 avatar Jun 23 '21 13:06 Benal78