1.0.2 • Published 1 year ago

ninjabootstrap v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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