method
install_javascript_dependencies
v7.2.3 -
Show latest stable
- Class:
Rails::Generators::ChannelGenerator
install_javascript_dependencies()private
No documentation available.
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 75
def install_javascript_dependencies
say "Installing JavaScript dependencies", :green
if using_bun?
run "bun add @rails/actioncable"
elsif using_node?
run "yarn add @rails/actioncable"
end
end