How to use external plugins that use Vue.use to register in Quasar?
jonaslueder last edited by
I want to use the CASL Vue plugin in my Quasar app. However, to register the $can method to all component globallly it uses the Vue.use(plugin) function, which as I understand does not work in Quasar.
I only found this article on it: https://techformist.com/using-vue-plugins-quasar/ which uses an “install” function, that is not available for my plugin though. Any ideas? I want to use the $can method in my template.
metalsadman last edited by
@jonaslueder register it in a boot file https://quasar.dev/quasar-cli/boot-files