Starting from rails 7.1 is possible to create a new rails app using bun+tailwind, to start using them only needs to run:

rails new new_awesome_project -a propshaft -j bun --css tailwind --database=postgresql

This won’t use the tailwind gem, it’s using npm’s packages managed with bun.

to see on browser start dev server:

bin/dev