Closed jeroenrinzema closed 6 years ago
A way needs to be created that allows us to create notifications in a easy way using the Spectre toasts component.
Ideally would a function/object be added to the Vue instance.
A notification could be a warning/success/error.
new Vue({ mounted: function() { this.$notification.success('Vue is mounted!') this.$notification.error('Something went terribly wrong') } })
Does user needs to allow notifications in browser?
No a notification is a small popup in the bottom right corner
A way needs to be created that allows us to create notifications in a easy way using the Spectre toasts component.
Ideally would a function/object be added to the Vue instance.
A notification could be a warning/success/error.
Example