Skip to content

Commit

Permalink
Ensure VC config options are synced before initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
allmarkedup committed Oct 23, 2024
1 parent ce56e13 commit 04a0b59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/lookbook/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class Engine < Rails::Engine
end

config.before_initialize do |app|
ViewComponentConfigSync.call if Utils.gem_installed?("view_component")
YARD::Parser::Ruby::RipperParser.prepend YardParserPatch
end

Expand Down

0 comments on commit 04a0b59

Please sign in to comment.