I just found the setting how to use TailwindCSS css classes autocompletion in html.erb files. Now I can type the beginning of the class name and TailwindCSS will show me matching autocompletion, even for my html.erb files. 🎉