/mintplayer-ng-bootstrap

Bootstrap library for angular

Primary LanguageTypeScript

@mintplayer/ng-bootstrap

Demo

A complete demo application with all components is showcased here

Version info

License Build status Code coverage
License master codecov
Package Version
@mintplayer/ng-animations npm version
@mintplayer/ng-click-outside npm version
@mintplayer/ng-focus-on-load npm version
@mintplayer/ng-bootstrap npm version
@mintplayer/ng-qr-code npm version

Installation

npm i @mintplayer/ng-bootstrap

This should also install the peerDependencies in your project.

Now you should import the bootstrap stylesheet in the application. To do so, you have 2 options:

Update your angular.json:

"styles": [
  "node_modules/@mintplayer/ng-bootstrap/_bootstrap.scss",
  "src/styles.scss"
],

Or add the stylesheet in your styles.scss

@import 'node_modules/@mintplayer/ng-bootstrap/_bootstrap.scss';

Components

All components are showcased in the angular app included in the project. You can simply run

npm start -- --open

to discover them.

Discover yourself

Make sure you have NodeJS installed. Then run following commands

git clone https://github.com/MintPlayer/mintplayer-ng-bootstrap
npm i
npm start -- --open