method

install_javascript_dependencies

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ChannelGenerator
install_javascript_dependencies() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.