1 2 3 4 5 6 7
JsRoutes.setup do |c| # Setup your JS module system: # ESM, CJS, AMD, UMD or nil # c.module_type = "ESM" c.module_type = nil c.namespace = 'Routes' end