ninjabootstrap
v1.0.2
Published
An empowered version of Bootstrap 5.3.2, the popular front-end framework for developing responsive, mobile first projects on the web.
Downloads
11
Maintainers
Readme
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">