3 ms·
I've been trying out Alpine† instead of Vue/React/whatevs and I'm liking it. Also, I'm using Propshaft couple with Importmap instead of Hotwire & Turborails an
by igravious 4y ago
I've been trying out Alpine† instead of Vue/React/whatevs and I'm liking it.
Also, I'm using Propshaft couple with Importmap instead of Hotwire & Turborails and so on
mkdir foo
cd foo
bundle init
# edit Gemfile to set the Rails you want: main, edge, etc.
bundle
# plus whatever other options you normally choose when you run `new'
bundle exec rails new --skip-hotwire -a propshaft .
bundle install
bundle binstubs bundler
bin/bundle add importmap-rails
bin/rails importmap:install
bin/importmap pin @rails/ujs alpinejs bootstrap
What's simple_form btw, am I missing out on something wonderful?
† https://alpinejs.dev/ https://alpinejs.dev/