tailwindlabs / tailwindcss-forms

A plugin that provides a basic reset for form styles that makes form elements easy to override with utilities.
https://tailwindcss-forms.vercel.app
MIT License
4.19k stars 222 forks source link

Form elements does not show styles after installing tailwindcss-forms plugin in Vite Vue3 Typescript App #56

Closed simont789 closed 3 years ago

simont789 commented 3 years ago

Hi, I tried to add the forms plugin to my vite/vue3/typescript app following the provided instructions, and nothing has changed after the installation.

I've tried the popular "nohoist" solution, removing all node modules and also using projects on other issues which has claimed to solve the issue. All does not work with no error shown. "workspaces": { "nohoist": [ "@tailwindcss/forms", "@tailwindcss/forms/**", /***separately***/ "**/tailwindcss", "**/@tailwindcss/**" ] }

I am wondering if there is anything that could be the issue?

Thanks in advance!

simont789 commented 3 years ago

As most of the issues, you kinda resolve the problem by doing nothing. The plugin is running. I was expecting a label and input tag would show effect by itself. By adding text to a span tag and text type to input it all works. Cheers!