Releases: xiaoluoboding/vue-sonner
Releases Β· xiaoluoboding/vue-sonner
Release v1.2.4
What's Changed
Vue Sonner now supports a Nuxt 3 module
Use vue-sonner/nuxt
module
// nuxt.config.ts
export default defineNuxtConfig({
...
modules: ['vue-sonner/nuxt']
})
Use Toaster
component and $toast
function anywhere in the Vue SFC
<!-- app.vue -->
<template>
<div>
<Toaster position="top-right" />
<button @click="() => $toast('My first toast')">Render a toast</button>
</div>
</template>
<script setup lang="ts">
const { $toast } = useNuxtApp()
</script>
Full Changelog: v1.2.3...v1.2.4
Release v1.2.3
Release v1.2.0
Release v1.1.4
What's Changed
- fix(Toast): π move the heights update to Toaster.vue by @davidramosweb in #76
- fix: title type changed,render error by @CandyACE in #77
New Contributors
- @davidramosweb made their first contribution in #76
- @CandyACE made their first contribution in #77
Full Changelog: v1.1.3...v1.1.4
Release v1.1.3
What's Changed
- fix(README): Fix typo in markRaw import by @cernymatej in #65
- feat: support dynamic position by @motea927 in #68
- fix: fix the problem of rate calculation error when clicking actions β¦ by @libondev in #71
New Contributors
- @cernymatej made their first contribution in #65
- @motea927 made their first contribution in #68
- @libondev made their first contribution in #71
Full Changelog: v1.1.2...v1.1.3
Release v1.1.2
Release v1.1.1
Release v1.0.4
What's Changed
- fix: blurry text in chromium by @itsTPM in #48
- feat: allow setting position when creating a toast by @wobsoriano in #49
New Contributors
Full Changelog: v1.0.3...v1.0.4
Release v1.0.3
What's Changed
- feat: inject css by @sadeghbarati in #40
- fix: fixed the #39 problem by @xiaoluoboding in #41
New Contributors
- @sadeghbarati made their first contribution in #40
Full Changelog: v1.0.2...v1.0.3