Skip to content

Commit d524389

Browse files
committed
Remove "Hello" component
I’ve used the generator a few times and I don’t like that it creates this.
1 parent 2fa4905 commit d524389

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

lib/generators/phlex/install/install_generator.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def configure_tailwind
1010
if tailwind_configuration_path
1111
insert_into_file tailwind_configuration_path, after: "content: [" do
1212
"\n './app/views/**/*.rb', // Phlex views" \
13-
"\n './app/components/**/*.rb', // Phlex components" \
13+
"\n './app/components/**/*.rb', // Phlex components" \
1414
end
1515
end
1616
end
@@ -23,10 +23,6 @@ def create_application_view
2323
template "base_view.rb.erb", Rails.root.join("app/views/base.rb")
2424
end
2525

26-
def create_hello_component
27-
template "hello_component.rb.erb", Rails.root.join("app/components/hello.rb")
28-
end
29-
3026
def create_initializer
3127
template "phlex.rb.erb", Rails.root.join("config/initializers/phlex.rb")
3228
end

lib/generators/phlex/install/templates/hello_component.rb.erb

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)