Based on vue-snotify for Vue 2.
npm i --save vue3-snotify
In main.ts :
import snotify from 'vue3-snotify';
import 'vue3-snotify/style';
const app = createApp(App)
app.use(snotify);
app.mount('#app');
In App.vue:
<vue-snotify />
In a component:
this.$snotify.error('hello');
The api should be the same as vue-snotify
- Restore html functionality on SnotifyService
- Restore async functionality on SnotifyService
- Style options