Demo using elm, rails, webpacker 3 clone repo cd realm bundle bundle exec rails db:create terminal window 1: bundle exec rails s terminal window 2: ./bin/webpack-dev-server You can find the elm portion in app/frontend/packs/Main.elm