Sha256: 2f424e7b53de988003ff7c2bd0ba01dfd4fa985a0de089c267b0a2ea6fd9c3f7

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

say "Appending Stimulus setup code to #{Webpacker.config.source_entry_path}/application.js"
append_to_file "#{Webpacker.config.source_entry_path}/application.js", %(\nimport "controllers")

say "Creating controllers directory"
directory "#{__dir__}/app/assets/javascripts/controllers", "#{Webpacker.config.source_path}/controllers"

say "Installing all Stimulus dependencies"
run "yarn add stimulus"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stimulus-rails-0.3.0 lib/install/stimulus_with_webpacker.rb