Currently, I am in the process of integrating pagy into my Rails 6 application. The basic pagy_nav links are functioning properly; however, due to some instances having a large number of items, I am now attempting to implement the pagy_combo_nav_js feature. Despite following the guidelines provided here for Webpacker, I am facing difficulties as it is not working as expected. The specific error message that is being displayed reads:
ReferenceError: erb is not defined
I would like to hear from those who have successfully managed to make pagy_combo_nav_js work within a Rails 6 setup.