This repository has been archived on 2023-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
2021-03-10 09:14:56 +00:00
|
|
|
// This file is automatically compiled by Webpack, along with any other files
|
|
|
|
// present in this directory. You're encouraged to place your actual application logic in
|
|
|
|
// a relevant structure within app/javascript and only use these pack files to reference
|
|
|
|
// that code so it'll be compiled.
|
|
|
|
|
2021-03-10 09:52:53 +00:00
|
|
|
import '../stylesheets/application'
|
|
|
|
|
2021-03-10 09:14:56 +00:00
|
|
|
import Rails from "@rails/ujs"
|
|
|
|
import Turbolinks from "turbolinks"
|
|
|
|
import * as ActiveStorage from "@rails/activestorage"
|
|
|
|
import "channels"
|
|
|
|
|
2021-03-10 09:52:53 +00:00
|
|
|
import 'bootstrap'
|
|
|
|
|
2021-03-10 09:14:56 +00:00
|
|
|
Rails.start()
|
|
|
|
Turbolinks.start()
|
|
|
|
ActiveStorage.start()
|
2021-03-10 09:52:53 +00:00
|
|
|
|
|
|
|
document.addEventListener("turbolinks:load", () => {
|
|
|
|
$('[data-toggle="tooltip"]').tooltip()
|
|
|
|
$('[data-toggle="popover"]').popover()
|
|
|
|
})
|