shadcn-vue
shadcn-vue copied to clipboard
[Bug]: Toast component is deprecated
Reproduction
pnpm create nuxt
Describe the bug
So, I tried to use Toast but first installing it from here https://www.shadcn-vue.com/docs/components/toast.html#run-the-following-command, but it says:
The toast component is deprecated. Use the sonner component instead.
And no component added to my directory.
If so, I think it's better to mention it in the documentation or maybe remove it?
System Info
- nuxt: `3.16.2`
- shadcn-nuxt: `2.0.0`
- tailwind: `4.1.2`
Contributes
- [ ] I am willing to submit a PR to fix this issue
- [ ] I am willing to submit a PR with failing tests
Toast is now deprecated with TailwindCSS V4 version. You need to use Sonner instead. https://www.shadcn-vue.com/docs/components/sonner.html
But now, if you want to custom this design : https://github.com/xiaoluoboding/vue-sonner you have all informations here.
Yeah I see, I think that it's better to inform this info in the documentation in section Toast also.