chore(view_component): enable global_output_buffer
This commit is contained in:
parent
df914d273f
commit
dca4dda228
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue