Angular tests doesn't work #16823
Replies: 4 comments 1 reply
-
I see doc here Setting up Tailwind CSS in an Angular project. But I still got error when run |
Beta Was this translation helpful? Give feedback.
-
File: node_modules@angular-devkit\build-angular\src\tools\webpack\configs\styles.js
to this:
|
Beta Was this translation helpful? Give feedback.
-
I had to use {
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/components/tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"styles": [
"src/styles.scss"
]
}
}
} |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i've an angular v19 project using tailwind v4 , it works all fine, but when i try to run tests i'm getting an error
An unhandled exception occurred: It looks like you're trying to use
tailwindcssdirectly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install
@tailwindcss/postcssand update your PostCSS configuration.
is there a solution for this or a way arrround it ?
Beta Was this translation helpful? Give feedback.
All reactions