Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tailwind breaks rails mailer generator #90

Closed
rubys opened this issue Nov 30, 2021 · 2 comments
Closed

tailwind breaks rails mailer generator #90

rubys opened this issue Nov 30, 2021 · 2 comments

Comments

@rubys
Copy link

rubys commented Nov 30, 2021

With Rails 7.0.0.alpha2, running

rails new foo --css tailwind
cd foo
bin/rails generate mailer Order received shipped

Produces:

      create  app/mailers/order_mailer.rb
       error  tailwindcss [not found]
      invoke  test_unit
      create    test/mailers/order_mailer_test.rb
      create    test/mailers/previews/order_mailer_preview.rb

What's missing:

      invoke  erb
      create    app/views/order_mailer
      create    app/views/order_mailer/received.text.erb
      create    app/views/order_mailer/received.html.erb
      create    app/views/order_mailer/shipped.text.erb
      create    app/views/order_mailer/shipped.html.erb
@rubys
Copy link
Author

rubys commented Nov 30, 2021

Perhaps the fix is merely awaiting release? c3177f4

@dhh
Copy link
Member

dhh commented Nov 30, 2021

Released 0.5.2 with this included 👍

@dhh dhh closed this as completed Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants