-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Tailwind cli is not processing css #552
Comments
I've just created a repository to try and replicate this but can't: https://github.com/adamwathan/tailwind-cli-test When I run Can you share a repository that reproduces the issue so I can try and troubleshoot what's different? |
Cli was working fine in the past, may be not working with Node v 10. Here is the repo https://github.com/ansarizafar/tailwindcss |
Ah ok I see the issue, you are trying to use If you want to use full-blown PostCSS and include other plugins and stuff, you need to use a proper build tool that supports PostCSS like Webpack, Gulp, etc. |
Sent you a PR which shows you how to do what you want using |
@adamwathan Thanks for the help. Its working now. |
I am using tailwincss ver 0.6.5 and node ver10.7.0. I have followed the installation guide and trying to process my css with tailwind cli but cli is not processing my css just outputting my own css file as it is. I am using these steps.
./node_modules/.bin/tailwind init tailwind.js
I am using the sample css from the guide with tailwind directives to create my css file tailwind.css
then using the following command to process my css.
./node_modules/.bin/tailwind build tailwind.css -c tailwind.js -o devstyles.css
tailwind build command is just copying tailwind.css to devstyles.css and not processing tailwind.css to generate styles.
The text was updated successfully, but these errors were encountered: