0.7.6 • Published 8 years ago
clarity-demos v0.7.6
Installing Clarity Demos
Install Clarity UI package through npm:
npm install clarity-ui
Install Font Awesome:
npm install font-awesome
Install the clarity-angular package through npm:
npm install clarity-angular
Install the clarity-demos package through npm:
npm install clarity-demos
Import the ClarityModule into your Angular 2 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 'clarity-angular'; import { AppComponent } from './app.component'; @NgModule({ imports: [ BrowserModule, ClarityModule, .... ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule { }