Tailwind nonfunctional on fresh-update from 1.3.1 -> 1.4.3
After running
deno run -A -r https://fresh.deno.dev/update .
on my project, the tailwind styles don't appear functional.
My imports section looks like so
Any ideas what might be going on? Thanks in advance!4 Replies
I'm sorry to hear that you're having trouble with Tailwind styles after updating your Fresh project. Based on the documentation, there are a few things we can check:
1. Check your
main.ts
file: Ensure that you're importing the Twind plugin and adding it to the plugins array. This is necessary for using Twind with Fresh.
2. Check your Twind usage: The documentation mentions that the Twind plugin removes many unnecessary uses of the tw
function and unnecessary Twind imports. Make sure your code aligns with this.
3. Check your twind.config.ts
file: If you use a custom configuration, you might need to manually update this file.
4. Check for errors: Are there any error messages in the console when you run your project? These could provide clues about what's going wrong.
If you've checked all of these and you're still having issues, it might be helpful to provide more information about how you're using Twind in your project. For example, are you using it in a specific component or across your entire project? Are there specific styles that aren't working, or is it all styles? This could help us narrow down the issue. 🦕@marvinh. is this the dev/main mismatch?
very likely, I should really cutch a new patch release
I may’ve had the same issue recently