1865-export-bootstrap-js-components (#2214)

Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
This commit is contained in:
Mikołaj SojkaandPaweł Kuna authored and GitHub committed 2025-03-17 22:44:00 +01:00
1 parent d73d78e76f
commit 2f8a37252d
3 files changed
+35

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Add Bootstrap components to Tabler JS
+15
View File
@@ -9,3 +9,18 @@ import "./src/toast"
export * as bootstrap from "bootstrap"
export * as tabler from "./src/tabler"
export {
Alert,
Modal,
Toast,
Tooltip,
Tab,
Button,
Carousel,
Collapse,
Dropdown,
Popover,
ScrollSpy,
Offcanvas
} from 'bootstrap'
+15
View File
@@ -11,5 +11,20 @@ import "./src/toast"
import * as bootstrap from "bootstrap"
import * as tabler from "./src/tabler"
export {
Alert,
Modal,
Toast,
Tooltip,
Tab,
Button,
Carousel,
Collapse,
Dropdown,
Popover,
ScrollSpy,
Offcanvas
} from 'bootstrap'
globalThis.bootstrap = bootstrap
globalThis.tabler = tabler