Fix peerDependencies to support angular >=18 #107
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
|
@ -18,11 +18,13 @@ Check out the live demo: [ng2-fittext Demo](https://stackblitz.com/edit/stackbli
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Install the library using npm:
|
Install the library using npm according to your angular version (see table below):
|
||||||
|
|
||||||
|
| Angular | ng2-fittext | command |
|
||||||
|
|---------|-------------|-------------------------------|
|
||||||
|
| <= v17 | 1.4.3 | ```npm i ng2-fittext@1.4.3``` |
|
||||||
|
| >= v18 | 2.0.0 | ``` npm i ng2-fittext@1.5.0```|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install --save ng2-fittext
|
|
||||||
```
|
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue