These steps work for me. tailwindcss v4.1.10 and angular 19.
https://tailwindcss.com/docs/installation/framework-guides/angular