tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

Create a package like Buefy or Bootstrap-vue for Tailwind and Vue #413

Open guillaumebriday opened 4 years ago

guillaumebriday commented 4 years ago

Hey šŸ‘‹

First, Thank you for Tailwind ! I use it in all of my professionals or personals projects, it is so awesome šŸ˜„

I've been working on many different Tailwind projects and one of the most common issue is to have many different way of writing the JavaScript with Vue.

To be more specific, I saw Tab/Modal/button/Card/Table/Dropdown/Alert/Pagination/whatever components in almost every projects but written differently and with lots of bugs or missing features.

I think for basic components it could be so much easier to have an equivalent of Buefy for Bulma and Bootstrap-vue for Bootstrap.

There is a package called : vue-tailwind but it's not an official one and we don't know if it's gonna be supported on a long term.

We could list the most basic components that everybody will probably need and it would be a separated package under Tailwind namespace, completely optional of course.

With an official package we could think props, events and behavior with the Tailwind approach in mind.

What do you think about it ?

Thank you !

ricky-sb commented 4 years ago

Check this out:

https://tailwindcss.com/components

guillaumebriday commented 4 years ago

Hey @ricky-sb

Sorry, maybe I hadn't been explicit but I thought more about a JS oriented library to add reactity to Tailwind.

I think this repo is a very good example of what I was thinking about : https://github.com/excid3/tailwindcss-stimulus-components

It's not opinionated about styling but it proposed basic JavaScript behaviour.