Open benkeil opened 2 years ago
You need to add --postcss
to the watchers arguments.
npx: [
"tailwindcss",
"--postcss",
"--input=css/app.css",
"--output=../priv/static/assets/app.css",
"--watch",
cd: Path.expand("../apps/playground_web/assets", __DIR__)
]
I updated the
postcss.config.js
toCreated a new css file
components.css
withand added it to the app.css
but the styles get not applied. What I am doing wrong?