Running this only installs the dependencies. It doesn’t generate the tailwind.config.js.
npm install -D tailwindcss postcss autoprefixer
You need to run:
npx tailwindcss init -p
This will create both tailwind.config.js and postcss.config.js.