xiaoluoboding / vue-sonner

🔔 An opinionated toast component for Vue.
https://vue-sonner.robertshaw.id
MIT License
889 stars 46 forks source link

Why so many issues for such as simple plugin? #51

Open dvlden opened 8 months ago

dvlden commented 8 months ago

Everything below tested in Nuxt 3.

Also, if someone managed to make headless option work, does it receive props or something to get idea if it's warning/error/success/info, what's the title/description, etc? Otherwise, from the docs, headless options seems more like static toast, rather than headless (fully customizable)

Please let me know how to make it work properly?

wobsoriano commented 7 months ago

unstyled prop is there but is actually not implemented internally

BayBreezy commented 7 months ago

@dvlden You can look how I customized this package a little in my lib: https://ui-thing.behonbaker.com/components/vuesonner

The implementation can be found here: https://github.com/BayBreezy/ui-thing/blob/main/components/Ui/VueSonner.client.vue

Hopefully this answers a few of your questions.

rust-floppy commented 7 months ago

<< Created a new issue, thanks for the quick reply to @warflash ! >>

warflash commented 7 months ago

@idk-floppy Would be nice if you could open a seperate issue and put a reproduction of your code/issue there. pnpm is not a typo in the readme fyi - it's a faster alternative to npm

rust-floppy commented 7 months ago

@idk-floppy Would be nice if you could open a seperate issue and put a reproduction of your code/issue there. pnpm is not a typo in the readme fyi - it's a faster alternative to npm

Okay, thank you for the quick answer!