Description: ============ Creates a new view component, test and preview files. Pass the component name, either CamelCased or under_scored, and an optional list of attributes as arguments. Example: ======== bin/rails generate view_component Profile name age creates a Profile component and test: Component: app/components/profile/component.rb Template: app/components/profile/component.html.erb Test: spec/components/profile_component_spec.rb Preview: app/components/profile/component_preview.rb