diff --git a/src/global-bootstrap-italia.js b/src/global-bootstrap-italia.js index aed279c1..675759da 100644 --- a/src/global-bootstrap-italia.js +++ b/src/global-bootstrap-italia.js @@ -1,4 +1,4 @@ -import { Modal, Accordion, Collapse } from "bootstrap-italia"; +import * as Bootstrap from "bootstrap-italia"; import jquery from "jquery"; import Popper from "popper.js"; @@ -6,7 +6,5 @@ window.__PUBLIC_PATH__ = "/fonts"; window.Popper = Popper; window.jQuery = jquery; window.jquery = jquery; -window.Modal = Modal; -window.Accordion = Accordion; -window.Collapse = Collapse; +window.bootstrap = Bootstrap; window.$ = jquery;