Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

bootstrap-esm

erwinheldy122MIT1.0.2TypeScript support: included

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

css, sass, mobile-first, responsive, front-end, framework, web

readme

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.6

Why ?

Usage / Example

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

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