Open
Description
What version of VS Code are you using?
v1.100.0-insider
What version of Tailwind CSS IntelliSense are you using?
v0.14.15
What version of Tailwind CSS are you using?
v3.4.17
What package manager are you using?
npm
What operating system are you using?
Windows 11 64-bit
Tailwind config
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["Roboto", "sans-serif"],
},
gridTemplateColumns: {
"70/30": "70% 28%",
},
},
},
plugins: [],
};
Reproduction URL
- Run
npm create vite@latest
- Run
npm install -D tailwindcss@3 postcss autoprefixer
- Run
npx tailwindcss init -p
- Add to Tailwind CSS config
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
- Try entering a Tailwind class in
className
attribute.
Describe your issue
Tailwind CSS autocomplete does not work in React .jsx files.
Metadata
Metadata
Assignees
Labels
No labels