alfonsobries/vue-tailwind

Variants don't work

the-overdriven opened this issue · 0 comments

<t-button variant="danger">Delete</t-button>
<t-button variant="error">Delete</t-button>
<t-button variant="secondary">Delete</t-button>
<t-button variant="primary">Delete</t-button>

None of these work for me. Passing a variant removes all default classes. Only if I don't pass any variant it will render something that looks like a button.

Are docs even up to date?

You provide an example https://www.vue-tailwind.com/docs/button with different radio buttons but without any code (usage example). Except "basic example" which doesn't showcase any attributes.