-
Notifications
You must be signed in to change notification settings - Fork 47
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
Support for Tailwind CSS #3
Comments
Hey, thanks for reaching out. Could you provide a minimal reproducible example? Some temporary git repository would be great. |
Sure! I just installed everything: git clone [email protected]:sszczep/chrome-extension-webpack.git
cd chrome-extension-webpack
npm install
npm run start
# Stop obviosly: ctrl+c
npm install -D postcss-import
npm run start But sure, I haven't even created a new repo yet. But I will if you want me to. Regards, Jorge |
Hi again! I got it to work! I feel really stupid now, but mainly I just followed a TailwindCSS guide and generated the default Renaming the extension of these files to I also tried different things before I got it to work. But I made a fork of your repo, you can check it out if you want. I can even create a PR if you'd like that. But perhaps TailwindCSS should be optional. Perhaps something I can fix over the weekend or something. Here's the diff. |
Oh, and here is a detailed doc of My tweaks to make TailwindCSS work. |
First of all!
Really COOL boilerplate for getting started with Chrome extension development.
I was struggling with getting chrome as a global variable. And ChatGPT just gave me a headache with it's hallucinations.
Your repo, on the other hand, is looking really promising! Thank you!
Now to my issue:
Everything was working as expected until I tried to add TailwindCSS and got this error.
Do you have any clue on how to fix the issue. I'll continue debugging tomorrow.
The text was updated successfully, but these errors were encountered: