chore(view_component): enable global_output_buffer

This commit is contained in:
Paul Chavard 2022-05-06 12:29:41 +02:00
parent df914d273f
commit dca4dda228

View file

@ -87,5 +87,8 @@ module TPS
config.view_component.show_previews_source = true config.view_component.show_previews_source = true
config.view_component.default_preview_layout = 'component_preview' config.view_component.default_preview_layout = 'component_preview'
config.view_component.preview_paths << "#{Rails.root}/spec/components/previews" config.view_component.preview_paths << "#{Rails.root}/spec/components/previews"
# see: https://viewcomponent.org/known_issues.html
config.view_component.use_global_output_buffer = true
end end
end end