Select2 Css is not loading via yarn or assets precompile
问题 I am running into a strange issue where everything is working as expected except select2. I am having Rails 6.0.0 app and installed select2 via yarn add select2 . Then i added it to application.js file. File looks like below. #app/javascripts/packs/application.js require("@rails/ujs").start() require("turbolinks").start() require("@rails/activestorage").start() require("channels") require('datatables.net') require('datatables.net-dt') require('datatables.net-bs4') require('select2') import