Skip to content

palmer-rm/vue3-snotify

Repository files navigation

Vue Snotify for Vue 3

Based on vue-snotify for Vue 2.

How to use

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

Todos:

  • Restore html functionality on SnotifyService
  • Restore async functionality on SnotifyService
  • Style options

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published