1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

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

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

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Add Bootstrap components to Tabler JS

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'

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