Error trying to test turbo via cdn

I’m just testing the tool, but I have some problems with the cdn because it generates an error that I don’t know how to deal with, the error is Uncaught SyntaxError: Unexpected token ‘export’

1 Like

you importing incorrectly!

paste this on yout head

    <script type="module">
        import hotwiredTurbo from 'https://cdn.skypack.dev/@hotwired/turbo';
    </script>

1 Like

thanks it worked for me