Skip to content

Commit

Permalink
Ensure that Base is required before other components
Browse files Browse the repository at this point in the history
So that the other components can use methods from Base.
  • Loading branch information
davidalejandroaguilar committed Sep 4, 2024
1 parent d0723c5 commit 4b72a1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/phlexy_ui.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require "phlex"
require "zeitwerk"
require_relative "phlexy_ui/version"
require_relative "phlexy_ui/base"

loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect(
Expand All @@ -11,4 +12,4 @@
module PhlexyUI
extend Configurable
extend Phlex::Kit
end
end

0 comments on commit 4b72a1a

Please sign in to comment.