Skip to content

Commit 79d9e8c

Browse files
committed
Add view component gem
1 parent eb3cf70 commit 79d9e8c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ gem "jbuilder", "~> 2.7"
3232
# Use Active Storage variant
3333
# gem "image_processing", "~> 1.2"
3434

35+
gem "view_component", require: "view_component/engine"
36+
3537
group :development, :test do
3638
# Call "byebug" anywhere in the code to stop execution and get a debugger console
3739
gem "byebug", platforms: [:mri, :mingw, :x64_mingw]

Gemfile.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ GEM
166166
rails (>= 6.0.0)
167167
tzinfo (2.0.4)
168168
concurrent-ruby (~> 1.0)
169+
view_component (2.38.0)
170+
activesupport (>= 5.0.0, < 8.0)
171+
method_source (~> 1.0)
169172
webdrivers (4.6.1)
170173
nokogiri (~> 1.6)
171174
rubyzip (>= 1.3.0)
@@ -192,6 +195,7 @@ DEPENDENCIES
192195
stimulus-rails (>= 0.3.9)
193196
turbo-rails (>= 0.7.4)
194197
tzinfo-data
198+
view_component
195199
web-console!
196200
webdrivers
197201

0 commit comments

Comments
 (0)