bootstrap-esm
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

bootstrap-esm

ES Module version of Bootstrap v5 with tree shaking support for optimized code.

Notes: This package is intended for use by bundlers.

Bootstrap version used: v5.3.7

Why ?

Usage / Example

npm install bootstrap-esm
import { Tooltip } from 'bootstrap-esm'

document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach((element) => {
  new Tooltip(element)
})

Package Sidebar

Install

npm i bootstrap-esm

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

520 kB

Total Files

147

Last publish

Collaborators

  • erwinheldy