What is webpack and webpacker? Javascript has changed in Rails 6. I've setup this Ruby on Rails 6 tutorial to teach you how to use sprockets in your Ruby on Rails 6 application. This might be helpful if you are migrating an existing Rails 4 or Rails 5 application. Sprockets uses the asset pipeline, and is still used in Rails 6 to compile and compress stylesheets and images. Let's see how we can use sprockets for Javascript in this Rails 6 tutorial.
Check out my website, where you can purchase a completed version of some of my app builds to use as a starter for your own project, we also have web app clones for Reddit, Instagram, Craigslist, Tinder and a Real Estate Platform.
🌐 Purchase pre build web apps / online courses and more:
https://www.davidbattersby.com
🎓Purchase my Ruby on Rails 6 Complete Beginners Course - (use code STAYHOME to save 58%)
https://www.udemy.com/course/complete...
🚀 Links:
Twitter: / davidbattersby
Facebook: / david-battersby-100770558101998
💻 Get $100 FREE credit to spend on your own web servers (from $5 per month).
https://m.do.co/c/78b315f17b47 (perfect for Rails / JS / PHP)
If you want to learn more about programming in Ruby, subscribe for more videos on the Ruby language and Ruby on Rails framework for startups and web development.