Closed marufmax closed 5 years ago
Hi, Thanks for this library.
Can I use it without <vue-toastify :your-props="here"></vue-toastify> this component?
<vue-toastify :your-props="here"></vue-toastify>
I want to show notification inside a method and I don't want to mess around with template.
like simply: this.$toastify.success('Weird success text');
this.$toastify.success('Weird success text');
something like this?
You have to include the component but you don't have to pass the props. This is currently a single component not a plugin.
@marufmax This is a great idea, I'll make sure to add this when moving to release 1.0
Hi, Thanks for this library.
Can I use it without
<vue-toastify :your-props="here"></vue-toastify>
this component?I want to show notification inside a method and I don't want to mess around with template.
like simply:
this.$toastify.success('Weird success text');
something like this?