Not serving JavaScript files in production

I recently added bootstrap and popper.js to my Rails 7 application to add navbar toggle feature to my application. In development mode my toggle button on the navbar works fine. JavaScript works. But this is not the case when files were deployed to render. Toggle button doesn’t function. It seems like javascript_importmap isn’t working on render. JavaScript isn’t functioning. Can anyone help with this please?

Hi there,

It looks like one of my colleagues is helping you with this issue privately, so I am closing out this thread.

Regards,
Mike


Render Support Engineer, MT (UTC-6)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.