Closed sts-ryan-holton closed 3 years ago
In my case, when I use this.$notify
in created
or mounted
, I had to setTimeout for about 1 second to trigger it.
mounted() {
setTimeout(() => {
this.$notify({
type: "success",
text: "test",
duration: 3000,
});
}, 1000);
},
Im also having this issue. I tried using the example shown here. However it just caused no more notifications to show.
The solution proposed by @lamphanqg does not solve it for me, as I am not calling this.$notify
in created
or mounted
I'm having the same issue, here is my template file: https://paste.theprogramsrc.xyz/emadugawuy.xml
Stale issue message
Describe the bug
When using the custom
template
slot, no notification is triggered even when callingthis.$notify()
To Reproduce
Expected behavior
I should see a notification in the top right of my screen as this is the default behaviour
Screenshots
N/A
Desktop (please complete the following information):
Additional context
I have the plugin installed globally in my Nuxt JS project, and everything works fine if I just use the following:
However, I need to customise the HMTL content of a notification, thus the utilisation of slots and template. Why isn't it triggering?