0
Has a plugin for Toast notifications called Vue-snotify Vue-Snotify
It has a function that makes a request with Axios, and before completing the request shows a loading notification, and then one of the result of success or error. However she is in the position bottonRight, I wanted to change this position, I found nowhere.
this.$snotify.async('Called with promise', 'Success async', () => new Promise((resolve, reject) => {
setTimeout(() => resolve({
title: 'Success!!!',
body: 'We got an example success!',
config: {
closeOnClick: true
}
}), 2000);
}));
Just look at the documentation: https://artemsky.github.io/vue-snotify/documentation/api/enums.html#snotifyposition has several options
– André Martins
Vlw André, it worked
– Pedro Henrique