Skip to content

tailwind v4 with angular the autocomplete is not working #1238

Open
@heshaShawky

Description

@heshaShawky

What version of Tailwind CSS are you using?

v4.0.9

What build tool (or framework if it abstracts the build tool) are you using?

  "dependencies": {
    "@angular/animations": "^19.1.7",
    "@angular/common": "^19.1.7",
    "@angular/compiler": "^19.1.7",
    "@angular/core": "^19.1.7",
    "@angular/forms": "^19.1.7",
    "@angular/platform-browser": "^19.1.7",
    "@angular/platform-browser-dynamic": "^19.1.7",
    "@angular/router": "^19.1.7",
    "@ionic/angular": "^8.4.3",
    "@ngx-translate/core": "^16.0.4",
    "@ngx-translate/http-loader": "^16.0.1",
    "@tailwindcss/postcss": "^4.0.9",
    "postcss": "^8.5.3",
    "rxjs": "~7.8.0",
    "tailwindcss": "^4.0.9",
    "tslib": "^2.3.0",
    "zone.js": "~0.15.0"
  },

What version of Node.js are you using?

v22.13.1

What operating system are you using?

macOS

Describe your issue

The autocomplete is not working with angular I tried everything, updating the vs code and the extension to the latest versions, and still not working.

as you can see above I am now using the postcss instead what has been before for v3, the v3 projects autocomplete still working fine.

Also after researching I see ppl complains about this too and fixed by removing ( but I don't have that on my vscode settings.json )

"tailwindCSS.experimental.configFile": "src/styles/app.css"

Metadata

Metadata

Assignees

No one assigned

    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