Nice, but I personally prefer to keep every configuration in the respective config file.
It’s all about personal preferences.
If you don’t mind I could add this response at the end of the tutorial as another option
Great arcticle, maybe it’s worth mentioning that Turbolinks has been extracted as a standalone library.
You can easely use them with Laravel: https://laracasts.com/series/whatcha-working-on/episodes/4
And with vue: https://laracasts.com/series/whatcha-working-on/episodes/15