-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Using Tailwindcss #39
Comments
I just got this working in my own project so wanted to share how I did it. PR #32 helped .It's not far off what the docs here tell you: https://tailwindcss.com/docs/installation First off run the following command to install tailwindcss, postcss, postcss-loader and autoprefixer;
Then add the following file named
Run the following to generate your tailwind config file:
Then create a
Then the last step it to tell webpack to load it in your
|
@wprk You saved me a few hours to figure this out, for sure. Thanks! |
@wprk Thanks mate this helped me bunch |
@wprk had to install |
Hi, |
@wprk Thank for your useful code! I had to add the following
|
@Getitdan i didn't manage it to work with tailwind 3, mind to share the solution? Thanks
Edit: Fixed by adding postcss-loader before sass loader.
|
I recommend adding Purge CSS for removing unused classes. This is my postcss.config.js file:
|
@wprk Can we use tailwind css in content script using post css? |
Anyone tried using TailwindCss with this boilerplate? If you have, can you provide some guidance on how to implement this? Thank. you very much!
The text was updated successfully, but these errors were encountered: