-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use vue-toaster inside action.js #21
Comments
Hi @woutervanerp, Have you found a solution? |
Nope, i stated using Vue Toastification (for Vue 3). import { useToast } from 'vue-toastification'
const toast = useToast() |
Awesome! |
@woutervanerp @meirroth It's now possible to import Explained in the updated readme: Please close this issue if this solves what you were trying to do. |
Is this latest version (1.3.0) not available via Yarn? It seems only up to 1.2.2 is available, yet GitHub has up to 1.3.0. |
@jprodrigues70 can you double check the npm version? |
For a project i'm using vuex actions.
Inside the .js file i get the error:
TypeError: Cannot read property '$toast' of undefined
How do i solve this issue?
The text was updated successfully, but these errors were encountered: