vue3-snotify

0.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i vue3-snotify

Weekly Downloads

446

Version

0.0.6

License

none

Unpacked Size

46.7 kB

Total Files

6

Last publish

Collaborators

  • liamrota
  • palmer-rm