vue-toastification icon indicating copy to clipboard operation
vue-toastification copied to clipboard

I get Error Cannot read properties of undefined (reading 'provide')

Open palachX opened this issue 2 years ago • 1 comments

"vue": "^3.2.13" "vue-toastification": "^2.0.0-rc.5"

Error: Cannot read properties of undefined (reading 'provide') at VueToastificationPlugin

P.S. Using with Vuex work

Init image Then use script setup image

image image

palachX avatar Sep 08 '22 16:09 palachX

It's looking for the provided key from installing the plugin, which you haven't done. You first want to install the plugin as a plugin in your vue entry file.

Johnsoct avatar Feb 26 '24 18:02 Johnsoct