How to write Javascript in Rails 6 | Webpacker, Yarn and Sprockets
17-Dec-2019 1646
Do you feel lost with all the changes related to assets and Javascript? Npm, Babel, ES6, Yarn, Webpack, Webpacker, Sprockets, do they all look like complete strangers to you?If you need a quick, easy to understand topo on how this whole Javascript ecosystem works in a Rails 6 application, this article is what you’re looking for.I’ll end up this article with a step-by-step section explaining how to add Bootstrap 4 and FontAwesome 5 to a Rails 6 project.
How to write Javascript in Rails 6 | Webpacker, Yarn and Sprockets #ruby #rubydeveloper #rubyonrails #write #Javascript #Rails #Webpacker, #Sprockets #javascript #webpacker, https://rubyonrails.ba/link/how-to-write-javascript-in-rails-6-webpacker-yarn-and-sprockets