simple_form-tailwind icon indicating copy to clipboard operation
simple_form-tailwind copied to clipboard

Could not find "_form.html.tailwindcss" in any of your source paths.

Open klippas-rob opened this issue 2 years ago • 2 comments

I'm new to Rails and am struggling to get this resolved:

I added gem 'simple_form-tailwind' and did a bundle install, then executed rails g simple_form:install which generated this error:

Could not find "_form.html.tailwindcss" in any of your source paths. Your current source paths are: 
~/.rvm/gems/ruby-3.1.2/gems/simple_form-5.1.0/lib/generators/simple_form/templates

klippas-rob avatar Sep 25 '22 20:09 klippas-rob

try 'rails g simple_form:tailwind:install'

Robyboy17 avatar Jan 05 '23 16:01 Robyboy17

I was able to get around this with the following command:

rails g simple_form:install --template_engine erb

HuntBurdick avatar Mar 25 '23 18:03 HuntBurdick