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:
5
.changeset/forty-pots-happen.md
Normal file
5
.changeset/forty-pots-happen.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add Bootstrap components to Tabler JS
|
||||||
@@ -9,3 +9,18 @@ import "./src/toast"
|
|||||||
|
|
||||||
export * as bootstrap from "bootstrap"
|
export * as bootstrap from "bootstrap"
|
||||||
export * as tabler from "./src/tabler"
|
export * as tabler from "./src/tabler"
|
||||||
|
|
||||||
|
export {
|
||||||
|
Alert,
|
||||||
|
Modal,
|
||||||
|
Toast,
|
||||||
|
Tooltip,
|
||||||
|
Tab,
|
||||||
|
Button,
|
||||||
|
Carousel,
|
||||||
|
Collapse,
|
||||||
|
Dropdown,
|
||||||
|
Popover,
|
||||||
|
ScrollSpy,
|
||||||
|
Offcanvas
|
||||||
|
} from 'bootstrap'
|
||||||
|
|||||||
@@ -11,5 +11,20 @@ import "./src/toast"
|
|||||||
import * as bootstrap from "bootstrap"
|
import * as bootstrap from "bootstrap"
|
||||||
import * as tabler from "./src/tabler"
|
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.bootstrap = bootstrap
|
||||||
globalThis.tabler = tabler
|
globalThis.tabler = tabler
|
||||||
|
|||||||
Reference in New Issue
Block a user