method

install_javascript_dependencies

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: InstallGenerator
install_javascript_dependencies() public

No documentation

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

Hide source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 11
      def install_javascript_dependencies
        say "Installing JavaScript dependencies", :green
        if using_bun?
          run "bun add @rails/actiontext trix"
        elsif using_node?
          run "yarn add @rails/actiontext trix"
        end
      end
Register or log in to add new notes.