Hi there, I’m developing a rails engine and I’m trying to add a simple js layer that connects some with hotwire and was streams, I’m using some modules from skypack and I’ve came up to this.
<script type="module">
import hotwiredTurbo from 'https://cdn.skypack.dev/@hotwired/turbo-rails';
</script>
turbo drive works but when I try to connect to a turbo_stream, I’m getting:
turbo-rails.js:12 Uncaught (in promise) TypeError: Failed to resolve module specifier '@rails/actioncable/src'
Any hints on how to properly use turbo-rails form CDN?