The project I'm working on is a Rails app with jQuery running on a lot of various parts/interactions. I'm implementing micro frontends in Vue 3 for new features and functionality using a modified hypernova-vue
.
At first, with limited functionality, everything seemed to work fine together. But now I'm adding more complex features (modals, popovers, deeply nested components) when I try to load the pages I get a list of $(...).ready is not a function
errors.
It happens consistently when I use the Teleport
feature in Vue for a modal.
Removing the Teleport
tags seems to resolve the error, but it breaks the UI. The modal content from the Vue component needs to be teleported to another div on the page to display correctly.