File tree 3 files changed +18
-18
lines changed
3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,12 @@ npm install -g @angular/cli
85
85
86
86
### Installation
87
87
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 `
92
94
93
95
Read the [ Getting started page] ( https://coreui.io/angular/docs/ ) for information on the framework contents, templates and examples, and more.
94
96
Original file line number Diff line number Diff line change 39
39
40
40
##### install:
41
41
42
+ - Angular CLI:
43
+ ``` bash
44
+ ng add @coreui/angular-chartjs
45
+ ````
46
+
47
+ - or npm
42
48
` ` ` bash
43
49
npm install chart.js@4
44
50
npm install @coreui/chartjs@4
@@ -60,16 +66,6 @@ import { ChartjsModule } from '@coreui/angular-chartjs';
60
66
// standalone components
61
67
import { ChartjsComponent } from ' @coreui/angular-chartjs' ;
62
68
63
- @Component({
64
- standalone: true,
65
- imports: [
66
- ChartjsComponent,
67
- ...
68
- ` ` `
69
- ` ` ` ts
70
- // standalone components
71
- import { ChartjsComponent } from ' @coreui/angular-chartjs' ;
72
-
73
69
@Component({
74
70
standalone: true,
75
71
imports: [
Original file line number Diff line number Diff line change @@ -85,10 +85,12 @@ npm install -g @angular/cli
85
85
86
86
### Installation
87
87
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 `
92
94
93
95
Read the [ Getting started page] ( https://coreui.io/angular/docs/ ) for information on the framework contents, templates and examples, and more.
94
96
You can’t perform that action at this time.
0 commit comments