Alpine JS
Alpine JS Integration for Lucky Framework
Used 25 times
M
Massimiliano Bertinetti
Template Source
Review the code before running this template on your machine.
def yarn(*packages)
run("yarn add #{packages.join(" ")}")
end
# Add StimulusJS to package.json
yarn "alpinejs"
append_to_file "src/js/app.js" do<<~EOF
require('alpinejs')
EOF
end
run("yarn install")