izi-toaster
Nuxt module for izitoast
Setup
- Add
izi-toaster
dependency to your project
yarn add izi-toaster # or npm install izi-toaster
- Add
izi-toaster
to themodules
section ofnuxt.config.js
modules: 'izi-toaster'
Usage
You can use $toaster in almost any context using app.$toaster or this.$toaster (Including store actions).
See toasted official docs for more usage information.
methods: async { try this$toaster await this$axios this$toaster catche this$toaster }
License
Copyright (c) sajan sajan.sahu@live.com