import{notify}from"@kyvg/vue3-notification";notify({title:"Authorization",text:"You have been logged in!",}); Or use Composition API style: import{useNotification}from"@kyvg/vue3-notification";const{notify}=useNotification()notify({title:"Authorization",text:"You have been logged in!",})...
import{notify}from"@kyvg/vue3-notification";notify({title:"Authorization",text:"You have been logged in!",}); Or use Composition API style: import{useNotification}from"@kyvg/vue3-notification";const{notify}=useNotification()notify({title:"Authorization",text:"You have been logged in!",})...
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@kyvg/vue3-notification) ## Upgrade to v3.x ### Breacking changes ### Breaking changes - `title` and `text` no longer render with [`v-html`](https://vuejs.org/api/built-in-directives.html#v-html). Use `dangerously...
npm install --save @kyvg/vue3-notification unplugin-vue-components # or yarn add @kyvg/vue3-notification unplugin-vue-components ``` ### Configuration To configure the resolver, update your Vue project's plugin settings. For example, in a Vite project, modify vite.config.js: ```js imp...