vue-browser-acl icon indicating copy to clipboard operation
vue-browser-acl copied to clipboard

Vue 3 support

Open JoshuaLowe1002 opened this issue 3 years ago • 6 comments

Was trying to use this with Vue 3. It looks like Vue.use has now been removed and you have to do createApp.use instead.

I tried plugging in the example but get this error, is Vue 3 support something that is planned to be added in the near future? image

JoshuaLowe1002 avatar Sep 30 '20 13:09 JoshuaLowe1002

Aside from the typescript warnings. Did you have any issues?

Once Vue3 moves out of the next tag I'll look at upgrading. This plugin supports router, vuex, and nuxt so I have to make sure these work as well. So preferably I would be able to do all of these at once as things settles.

mblarsen avatar Oct 01 '20 03:10 mblarsen

HI Michael.

Do you have any plans to make a Vue 3 version available?

ljcremer avatar Nov 13 '20 06:11 ljcremer

Yes, @ljcremer, check the comment just above yours :)

I'm also working on a new version of the underlying browser-acl library that better supports async permissions.

I cannot give you any time as to when this happens. PRs for Vue 3 are welcome if you are up for it?

mblarsen avatar Nov 15 '20 05:11 mblarsen

Ah great. Thanks

My knowledge of these things are still a bit weak but if I have some time I will look and see if I can help.

ljcremer avatar Nov 16 '20 16:11 ljcremer

Hi everyone! Is there any chance somebody can help me with using Acl with Vue 3 app? Since Vue global instance is currently unreachable, installation manual from Readme seems outdated. I've tried several options and kind of struggled with it. Thanks for your attention!

shkipan avatar Apr 30 '21 11:04 shkipan

Hi @shkipan the lib needs to be updated for V3. I'm looking for help on this since I'm unable to work on it for the time being.

mblarsen avatar May 19 '21 08:05 mblarsen