JSPM

ninjabootstrap

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q45270F
  • License MIT

An empowered version of Bootstrap 5.3.2, the popular front-end framework for developing responsive, mobile first projects on the web.

Package Exports

  • ninjabootstrap
  • ninjabootstrap/dist/js/bootstrap.esm.js
  • ninjabootstrap/dist/js/bootstrap.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ninjabootstrap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Bootstrap logo

NinjaBootstrap

npm version MIT license

NinjaBootstrap is a meticulously crafted collection of SCSS utilities that configure and extend Bootstrap 5,
to add the missing utility classes you really need in order to build great designs.

Explore project documentation and examples page »

Installation

Install

npm install ninjabootstrap

Import

If you need this project in a modern JS project (eg: react, vue, angular, etc) you can import it as a module:

import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.jsx'

import '/node_modules/bootstrapninja/dist/css/bootstrap.css'

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
)

Or if you are just working on an HTML file you can import it in the good old way:

<link rel="stylesheet" href="/node_modules/bootstrapninja/dist/css/bootstrap.min.css" />
<script src="/node_modules/bootstrapninja/dist/js/bootstrap.min.js">