-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
docs(www): update Remix install to use Vite, tip for className lint #3027
base: main
Are you sure you want to change the base?
Conversation
* docks: Switch Remix installation to Vite (default method) *docs: Add tip to avoid 'className' prop validation lint error
@llllOllOOll is attempting to deploy a commit to the shadcn-pro Team on Vercel. A member of the Team first needs to authorize it. |
I solved the classname issue on my remix project only extending my .eslintrc.cjs with "@remix-run/eslint-config" and
tailwind import
|
Is there anything wrong with this PR? Why was it accepted? Let me know if it needs any changes. I ran it on a new Remix project today, and it worked okay. |
Here's a tip in case someone encounters this warning: Fix Lint Error: 'className' is Missing in Props Validation (eslint-react/prop-types) |
@gojnimer6553 You don't need to import it in this way. import tailwind from "~/tailwind.css?url"; Just to use this: import "~/tailwind.css"; |
@llllOllOOll Is this ready to go? Is it updated for the latest remix version? |
docks: Switch Remix installation to Vite (default method)
docs: Add tip to avoid 'className' prop validation lint error