Skip to content

Instantly share code, notes, and snippets.

@codespore
Last active January 23, 2021 20:14
Show Gist options
  • Save codespore/34bd1633c83bc36c703e9dc6d99bff21 to your computer and use it in GitHub Desktop.
Save codespore/34bd1633c83bc36c703e9dc6d99bff21 to your computer and use it in GitHub Desktop.
require("@rails/ujs").start()
require("turbolinks").start()
require("@rails/activestorage").start()
require("channels")
import 'bootstrap'
document.addEventListener("turbolinks:load", () => {
$('[data-toggle="tooltip"]').tooltip()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment