@utility not available #16853
Replies: 2 comments
-
Please consider providing a git repository that reproduces the unexpected behavior. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Auto resolved: Was tied to this: tailwindlabs/tailwindcss-intellisense#1054 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I use tailwindcss@4.0.6 and I created a
@utility
. I want to use it in mytooltip.tsx
. However, using this class does not work (not being generated). Project structure:. ├── package.json ├── src │ ├── components │ │ ├── tooltip │ │ │ └── tooltip.tsx │ ├── config │ │ └── postcss.config.mjs │ └── styles │ ├── tailwind-preflight.css │ ├── tailwind.css └── tsconfig.json
My tailwind.css file:
I already tried adding
@source "../../src";
to make sure the tooltip.tsx get's scanned. No luck with that. All other utilities work and are suggested by intellisense, except for my@utility
.For example, this setup works here: https://play.tailwindcss.com/FuLm3ROrbW
Beta Was this translation helpful? Give feedback.
All reactions