How do I import recurring_select in Rails 6?
I keep getting the following error:
Uncaught Error: Cannot find module 'recurring_select'
at webpackMissingModule (application.js:1)
at Module. (application.js:1)
at Module../app/javascript/packs/application.js (application.js:31)
at webpack_require (bootstrap:19)
at bootstrap:83
at bootstrap:83
In app/javascript/packs/application.js, I've tried:
//= require recurring_select
require("recurring_select")
import 'recurring_select'
I am having this same issue. Did you manage to solve it Devan?
I would like to know where these files are actually compiled from when you install a gem so I may be able to fix these issues myself in the future :)