lib/generators/phlex/install/install_generator.rb in phlex-rails-2.0.0.beta1 vs lib/generators/phlex/install/install_generator.rb in phlex-rails-2.0.0.beta2
- old
+ new
@@ -8,24 +8,20 @@
def configure_tailwind
if tailwind_configuration_path
insert_into_file tailwind_configuration_path, after: "content: [" do
"\n './app/views/**/*.rb', // Phlex views" \
- "\n './app/components/**/*.rb', // Phlex components" \
+ "\n './app/components/**/*.rb', // Phlex components" \
end
end
end
def create_application_component
template "base_component.rb.erb", Rails.root.join("app/components/base.rb")
end
def create_application_view
template "base_view.rb.erb", Rails.root.join("app/views/base.rb")
- end
-
- def create_hello_component
- template "hello_component.rb.erb", Rails.root.join("app/components/hello.rb")
end
def create_initializer
template "phlex.rb.erb", Rails.root.join("config/initializers/phlex.rb")
end