0.2.0 • Published 3 years ago

def-clr-angular v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Installing Clarity Angular

The easiest way is to use the Angular CLI to automatically install Angular into your project

ng add @def/clr-angular

Then it should be setup automatically

Manual Installation

If you are unable to use the automatic method above, follow these steps.

  1. Install DEF-Clarity packages through npm:

    npm install @def/clr-icons @def/clr-ui @def/clr-angular
  2. Import the ClarityModule into your Angular application's module. Your application's main module might look like this:

    import { NgModule } from '@angular/core';
    import { BrowserModule } from '@angular/platform-browser';
    import { ClarityModule } from '@def/clr-angular';
    import { AppComponent } from './app.component';
    
    @NgModule({
        imports: [
            BrowserModule,
            ClarityModule,
            ....
         ],
         declarations: [ AppComponent ],
         bootstrap: [ AppComponent ]
    })
    export class AppModule {    }
0.1.0

3 years ago

0.2.0

3 years ago

4.0.16

3 years ago