Skip to content

Commit

Permalink
Fix Tailwind config in install generator
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Sep 7, 2024
1 parent 4ed04e8 commit 8e353bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/generators/phlex/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ class InstallGenerator < ::Rails::Generators::Base
def configure_tailwind
if tailwind_configuration_path
insert_into_file tailwind_configuration_path, after: "content: [" do
'\n "./app/views/**/*.rb",'
"\n './app/views/**/*.rb', // Phlex views" \
"\n './app/components/**/*.rb', // Phlex components" \
end
end
end
Expand Down

0 comments on commit 8e353bc

Please sign in to comment.