Did you know you can use NPM packages in the Ruby on Rails Asset Pipeline without Webpacker? Here is the demo of how to do it :)
Sources
➡ Source Code: https://github.com/MikeRogers0-YouTub...
Chapters
0:00 - What are we going to do?
0:10 - I like Water.css
1:05 - yarn add water.css
2:03 - Adding water.css to application.css
2:55 - Telling Rails about the node_modules folder
3:40 - It works
4:14 - Thank you
Follow Me Online
➡ Blog: https://mikerogers.io/
➡ Twitter: / mikerogers0
➡ GitHub: https://github.com/mikerogers0
➡ YouTube: / mikerogers0
➡ BuyMeACoffee: https://www.buymeacoffee.com/MikeRogers0
➡ Dev.to: https://dev.to/mikerogers0
#RubyOnRails #Yarn #NPM