You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not use the issues tracker for help or support, try Stack Overflow.
For bugs, do a quick search and make sure the bug has not yet been reported
If you found a security bug, do not report it through GitHub. Please send an e-mail to heartcombo@googlegroups.com instead.
Finally, be nice and have fun!
Environment
Ruby 3.0.0
Rails 7.0.4.2
Simple Form 5.1.0
tailwindcss-rails 2.0.21
Current behavior
Using tailwindcss-rails causes install to fail. Output:
❯ rails generate simple_form:install
[Simple Form] Simple Form is not configured in the application and will use the default values. Use `rails generate simple_form:install` to generate the Simple Form configuration.
SimpleForm 3 supports Bootstrap and Zurb Foundation 5. If you want a configuration that is compatible with one of these frameworks, then please re-run this generator with --bootstrap or --foundation as an option.
create config/initializers/simple_form.rb
exist config/locales
create config/locales/simple_form.en.yml
Could not find "_form.html.tailwindcss"in any of your source paths. Your current source paths are:
/Users/claudioramos/.rvm/gems/ruby-3.0.0/gems/simple_form-5.1.0/lib/generators/simple_form/templates
This can be reproduced by creating a new project using Tailwind and installing simple form.
Precheck
Environment
Current behavior
Using tailwindcss-rails causes install to fail. Output:
This can be reproduced by creating a new project using Tailwind and installing simple form.
Expected behavior
rails generate simple_form:install
is expected to identify the template engine correctly and run successfully.Workaround
Specify the template engine(erb, haml, or slim) in the install command.
Example:
rails generate simple_form:install -e erb
The text was updated successfully, but these errors were encountered: