Skip to content

Commit 98b931c

Browse files
committed
docs(readme): ng-add update
1 parent d3ade6e commit 98b931c

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ npm install -g @angular/cli
8585

8686
### Installation
8787
Several quick start options are available (pick one):
88-
89-
- [Download the latest release](https://github.com/coreui/coreui-angular/)
90-
- Clone the repo: `git clone https://github.com/coreui/coreui-angular.git`
91-
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular @coreui/icons-angular @coreui/coreui`
88+
- Add CoreUI to your Angular project:
89+
- Install with [Angular CLI](https://angular.dev/cli/add): `ng add @coreui/angular`
90+
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular @coreui/icons-angular @coreui/coreui`
91+
- Get the source code:
92+
- [Download the latest release](https://github.com/coreui/coreui-angular/)
93+
- Clone the repo: `git clone https://github.com/coreui/coreui-angular.git`
9294

9395
Read the [Getting started page](https://coreui.io/angular/docs/) for information on the framework contents, templates and examples, and more.
9496

projects/coreui-angular-chartjs/README.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939

4040
##### install:
4141

42+
- Angular CLI:
43+
```bash
44+
ng add @coreui/angular-chartjs
45+
````
46+
47+
- or npm
4248
```bash
4349
npm install chart.js@4
4450
npm install @coreui/chartjs@4
@@ -60,16 +66,6 @@ import { ChartjsModule } from '@coreui/angular-chartjs';
6066
// standalone components
6167
import { ChartjsComponent } from '@coreui/angular-chartjs';
6268

63-
@Component({
64-
standalone: true,
65-
imports: [
66-
ChartjsComponent,
67-
...
68-
```
69-
```ts
70-
// standalone components
71-
import { ChartjsComponent } from '@coreui/angular-chartjs';
72-
7369
@Component({
7470
standalone: true,
7571
imports: [

projects/coreui-angular/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ npm install -g @angular/cli
8585

8686
### Installation
8787
Several quick start options are available (pick one):
88-
89-
- [Download the latest release](https://github.com/coreui/coreui-angular/)
90-
- Clone the repo: `git clone https://github.com/coreui/coreui-angular.git`
91-
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular @coreui/icons-angular @coreui/coreui`
88+
- Add CoreUI to your Angular project:
89+
- Install with [Angular CLI](https://angular.dev/cli/add): `ng add @coreui/angular`
90+
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/angular @coreui/icons-angular @coreui/coreui`
91+
- Get the source code:
92+
- [Download the latest release](https://github.com/coreui/coreui-angular/)
93+
- Clone the repo: `git clone https://github.com/coreui/coreui-angular.git`
9294

9395
Read the [Getting started page](https://coreui.io/angular/docs/) for information on the framework contents, templates and examples, and more.
9496

0 commit comments

Comments
 (0)