install_turbo_js
🔌 Install Turbo JS​
To get started with Turbo, include the Turbo library in your HTML. You can use a CDN or install via npm. Once added, Turbo automatically enhances your links and forms for faster navigation.
<!-- Using CDN -->
<script src="https://cdn.jsdelivr.net/npm/@hotwired/turbo@7.3.0/dist/turbo.es2017-umd.js"></script>
<!-- Or with npm -->
<script type="module">
import { Turbo } from "@hotwired/turbo"
window.Turbo = Turbo
</script>