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
NinjaBootstrap
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 ninjabootstrapImport
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">