DEV Community

Discussion on: Architecting HTTP clients in Vue.js applications for efficient network communication

Collapse
 
sergx profile image
Sergey Khiluta

May be i figured it out.. I changed notify.warn('Nothing to display','Data Not Found'); to code below. Nice, that it works in Vuex actions the same, as in Vue components

Vue.notify({
  group: "default-top-center",
  type: "warn",
  title: "Nothing to display",
  text: "Data Not Found",
  //duration: 3000,
  speed: 500
});
Enter fullscreen mode Exit fullscreen mode
Collapse
 
haxzie profile image
Musthaq Ahamad

Haha, glad you were able to figue that out :)