Closed
Description
What version of VS Code are you using?
v.1.93.1
What version of Tailwind CSS IntelliSense are you using?
0.12.9
Tried 0.12.10 and pre-release too
What version of Tailwind CSS are you using?
4.0.0-alpha.24
What package manager are you using?
pnpm
What operating system are you using?
Windows
Tailwind config
/** @type {import('tailwindcss').Config} */
export default {
content: ["./client/src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {},
},
plugins: [],
};
VS Code settings
"tailwindCSS.experimental.classRegex": [
["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
],
Reproduction URL
I thought the issue is obvious, if it's not I would happily provide a repro.
Describe your issue
Hi, I'm using v4 in a monorepo and I have 2 issues:
1- Intellisense not working v0.12.9 and after (including pre-release)
2- v0.12.8 (working version) only working if I have @config "path/to/tailwind.conf.ts"
in my css file. I thought config file is not mandatory in v4.
Workaround
- Moving the entry css file to root directory fixes intellisense, Related comment v0.12.7 broken #1033 (comment)