Sha256: 3355e10eaebcbde714841afbff07fe672c2933f7c480e9087709c9bf27c57624
Contents?: true
Size: 521 Bytes
Versions: 7
Compression:
Stored size: 521 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/javascript/controllers", "#{Webpacker.config.source_path}/controllers" say "Using Stimulus NPM package" gsub_file "#{Webpacker.config.source_path}/controllers/hello_controller.js", /@hotwired\//, '' say "Installing all Stimulus dependencies" run "yarn add stimulus"
Version data entries
7 entries across 7 versions & 1 rubygems