2.0.1 • Published 4 years ago
ui-absolute v2.0.1
Usage
Install using npm
npm install ui-absolute --saveAdd desired package to NgModule imports:
import { UIABadgesModule } from 'ui-absolute';
@NgModule({
imports: [ UIABadgesModule,... ]
})Import following to your project style.scss file:
@import '~ui-absolute/base';Add desired component to HTML page:
<uia-badge [value]="'Hello'"></uia-badge>Bootstrap is required to make UI Absolute up and running
Using index.html:
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.X.X/css/bootstrap.min.css" rel="stylesheet">or,
Using npm:
npm install bootstrap --saveOnce npm command is executed, add following to angular.json of your project:
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.css",
...
],
"scripts": [
...
"./node_modules/bootstrap/dist/js/bootstrap.js"
]Compatibility
| ui-absolute | Bootstrap | Angular |
|---|---|---|
| 1.x.x | 3.x.x or 4.x.x | 8.x.x |
| 2.x.x | 3.x.x or 4.x.x | 9.x.x |