I am trying to learn Turbo but I dont know how to use it correctly. I want to use some turbo event but …how?Can I use only Turbo + HTML:
<a href="url" ??????????????? >link text</a>
<script>
document.addEventListener("turbo:before-visit", function () {
console.log('TURBO:BEFORE-VISIT')
})
</script>