Hello, World Tutorial with Turbolinks by topherPedersen & jaxatax

Really simple two page tutorial on adding Turbolinks magic to your traditional webapp in order to achieve a SPA (singe page application) feel without having to learn a complicated framework like React, Angular or Vue. Simply import Turbolinks, then call Turbolinks.visit() to load your pages in the background with Turbolinks & AJAX =>

<!DOCTYPE html>
<script src="https://cdnjs.cloudflare.com/ajax/libs/turbolinks/5.2.0/turbolinks.js"></script>
body {
background-color: blue;
a {
color: white;
<button onclick="Turbolinks.visit('mylink.html');">click me</button>
view raw index.html hosted with ❤ by GitHub
view raw mylink.html hosted with ❤ by GitHub