method
install_javascript_dependencies
rails latest stable - Class:
Rails::Generators::ChannelGenerator
install_javascript_dependencies()private
No documentation available.
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 73
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