Template - Rails 7 view component Projet d'origine: Veracyte Stack: - Rails 7 - Ruby 3.1 - ViewComponent configuré comme on veut - Tailwind
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
504 B

# frozen_string_literal: true
Rails.application.configure do
config.view_component.preview_paths << Rails.root.join('app/components')
# As we use ViewComponentContrib, these tag no longer matters
# But this is the config we are using internally
config.generators.test_framework = :rspec
config.view_component.generate.stimulus_controller = true
config.view_component.generate.locale = true
config.view_component.generate.preview = true
config.view_component.generate.sidecar = true
end