Skip to content

V4 intellisense not working in a monorepo v0.12.9 and after #1054

Closed
@sibbng

Description

@sibbng

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

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions