Flowdock
method

install_javascript_dependencies

Importance_0
v7.0.0 - 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
        if Pathname(destination_root).join("package.json").exist?
          say "Installing JavaScript dependencies", :green
          run "yarn add @rails/actiontext trix"
        end
      end
Register or log in to add new notes.