Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin doesn't work with Tailwind v3

See original GitHub issue

Issue Description

Running this plugin with Tailwind 3 in a Nuxt project gives the following error:

TypeError: Cannot read properties of undefined (reading 'parent')

The plugins documentation on Tailwind mentions different parameters to the plugin() function between v2 and v3, notably the absence of variants param (which makes sense considering that all variants are enabled by default in the JIT engine).

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

Reex11commented, Jan 8, 2022

I want to use this plugin, I dont like the way Tailwindcss used to support RTL

20livescommented, Jan 27, 2022

I agree that the integrated solution is not as useful as this, it existed as a plugin before this one existed.

i will look into how to add support for v3 (there is another issue with relevant info)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tailwind plugin doesn't work at all : WEB-51908 - YouTrack
What steps will reproduce the issue? 1. Open/create a project using tailwind 2. Try to use any of the autocompletion 3. Cry when...
Read more >
Tailwind v3 PostCSS Plugin: --watch does not rebuild CSS on ...
After updating to Tailwind 3, PostCSS / Tailwind no longer picks up on changes in content (HTML) files until I touch either tailwind.config.js...
Read more >
Plugins - Tailwind CSS
Overview. Plugins let you register new styles for Tailwind to inject into the user's stylesheet using JavaScript instead of CSS.
Read more >
Tailwind CSS custom addVariant plugin is not working
I'm trying to add a new variant called not-first to the Tailwind toolbelt, but when ...
Read more >
Write A Plugin For Tailwind CSS -
In this tutorial, we'll build a Tailwind CSS plugin. Utility-first frameworks like Tailwind can't include every CSS style due to size concerns, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found