Skip to content

Commit

Permalink
fix(readme): updated install docs
Browse files Browse the repository at this point in the history
  • Loading branch information
christianmat committed Mar 27, 2024
1 parent 645b9c7 commit d1a1d71
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -43,6 +43,12 @@ Install the library using your favorite package manager:
npm install remote-storage
```

Or simply include it in your HTML:

```html
<script src="https://unpkg.com/remote-storage@latest/dist/remote-storage.min.js" sync></script>
```

Import the library and use it like you would localStorage:

```javascript
Expand Down
6 changes: 6 additions & 0 deletions packages/js-client/README.md
Expand Up @@ -43,6 +43,12 @@ Install the library using your favorite package manager:
npm install remote-storage
```

Or simply include it in your HTML:

```html
<script src="https://unpkg.com/remote-storage@latest/dist/remote-storage.min.js" sync></script>
```

Import the library and use it like you would localStorage:

```javascript
Expand Down

0 comments on commit d1a1d71

Please sign in to comment.