mwhocl

Joined

560 Experience
5 Lessons Completed
0 Questions Solved

Activity

Posted in Installing Tailwind with Rails 7

Well unfortunately I didn't want to have to learn js. Gosh I hate this. Rails and Tailwind is enough for me right now. Bootstrap you just drop the stuff in and the basics work. I don't understand why tailwind didn't do the same thing. They give you some great sample code components to start with but then they don't work properly because then you have to figure out js. It's disappointing actually. Can anyone point me to the actual js code I need to put in and where I put it in a rails 7 app to get the second sample under landing pages on the tailwind components page to work using html?

Posted in Installing Tailwind with Rails 7

I ran the config for Tailwind with CSSBundling Rails using ruby 3.0.3 and rails 7.0.0:
rails new hg -j esbuild --css tailwind --database=postgresql
Everything worked fantastic trying any of the html code samples from tailwindui.com except for the hamburger menu in mobile. The hamburger menu did not work on a single code sample. Did I miss something additionally I needed to do?

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.