Icard/angular-clarity-master(work.../node_modules/@clr/angular/README.md

28 lines
833 B
Markdown
Raw Normal View History

2024-07-16 14:55:36 +00:00
## Installing Clarity Angular [![npm version](https://badge.fury.io/js/%40clr%2Fangular.svg)](https://badge.fury.io/js/%40clr%2Fangular)
1. Install Clarity packages through npm:
```
npm install @clr/ui @clr/angular @cds/core
```
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 '@clr/angular';
import { AppComponent } from './app.component';
@NgModule({
imports: [
BrowserModule,
ClarityModule,
....
],
declarations: [ AppComponent ],
bootstrap: [ AppComponent ]
})
export class AppModule { }
```