-
Notifications
You must be signed in to change notification settings - Fork 166
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
Cannot resolve module 'head' error when importing Tailwind #25
Comments
@khromov import css in |
@buttercubz Thanks, it works as a workaround, but I was under the impression that with module import you could have it bundled with your JS (which is what I want), not as an external CSS import. |
i think this is a bug, i will figure it out. and i'm considering a pugin for tailwind to support tree-sharking and other features. |
@ije How exactly would that work? Something like CSS modules? |
@shadowtime2000 maybe use postcss plugin: https://tailwindcss.com/docs/installation#process-your-css-with-tailwind |
fixed |
Update deployment.md
I'm trying to add Tailwind to
app.tsx
:app.tsx
but I'm getting:
The text was updated successfully, but these errors were encountered: