Installation
- To install the ngx-uc, open a terminal and at the root of your project, run:
npm install ngx-uc
- Import the style in your
angular.json
file in the styles entry (project > architect > build > styles):"styles": [ "node_modules/ngx-uc/resources/uc.css", "src/styles.css" ]
- Import the module:
import { NgModule } from '@angular/core'; import { NgxUcModule } from 'ngx-uc'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, AppRoutingModule, NgxUcModule ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }