400e0876de | ||
---|---|---|
.. | ||
accordion | ||
button | ||
data | ||
emphasis | ||
esm2020 | ||
fesm2015 | ||
fesm2020 | ||
forms | ||
icon | ||
layout | ||
modal | ||
popover | ||
progress | ||
src/utils/popover | ||
timeline | ||
utils | ||
wizard | ||
README.md | ||
clarity.api.md | ||
clr-angular.module.d.ts | ||
index.d.ts | ||
package.json |
README.md
Installing Clarity Angular
-
Install Clarity packages through npm:
npm install @clr/ui @clr/angular @cds/core
-
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 '@clr/angular'; import { AppComponent } from './app.component'; @NgModule({ imports: [ BrowserModule, ClarityModule, .... ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule { }