-
Notifications
You must be signed in to change notification settings - Fork 226
Strategy class produces errors #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey! I can't reproduce this, here's a repository I created showing it working as expected: https://github.com/adamwathan/tailwindcss-forms-class-strategy-test/tree/main In order to keep our issues tidy and under control, we close issues when no reproduction is provided, especially when we are unable to reproduce ourselves after taking the time to try and recreate what's been described. If the demo I've created above doesn't fix your problem, can you please open a new issue and include a reproduction so we can more easily troubleshoot using your exact code? |
I had the same issue, the |
Yes, after upgrading to version 0.3.3 the issue was resolved. So I guess it
was a version mismatch. Thanks.
|
You spelt Strategy wrong @MotionPhix missing an r |
What version of @tailwindcss/forms are you using?
0.2.1
What version of Node.js are you using?
v14. 16.0
What browser are you using?
Chrome
What operating system are you using?
Windows 10
Reproduction repository
None
Describe your issue
With reference from the screenshot above, I am having issues with tailwindcss/forms plugin when I opt to use the class strategy. Using it with default configuration works fine but I'm using another UI library for forms and I wanted to only use tailwindcss/forms on a few inputs (checkbox to be precise), but the class strategy produces
TypeError: require(....) is not a function at Object.<anonymous>
. What could be the issue?The text was updated successfully, but these errors were encountered: