Skip to content

Commit d6e863e

Browse files
committed
docs(README): note for manually installing cropperjs
1 parent fb42b14 commit d6e863e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
- [Table of Contents](#table-of-contents)
2424
- [NOTE!!](#note)
2525
- [Usage](#usage)
26+
- [Install](#install)
27+
- [Use](#use)
2628
- [License](#license)
2729

2830
</details>
@@ -33,11 +35,13 @@
3335
Feel free to submit PRs to add helper functions.
3436

3537
## Usage
38+
### Install
39+
Because cropperjs is not stable and we're referrencing it at @`next` tag, it cannot be automatically installed by package managers and we need to install it manually.
3640
```sh
37-
# Install it
38-
pnpm add vue-modern-cropper
41+
pnpm add vue-modern-cropper cropperjs@next
3942
```
4043

44+
### Use
4145
<!-- eslint-skip -->
4246
```ts
4347
// Register it globally

0 commit comments

Comments
 (0)