Skip to content

Commit

Permalink
docs: refactor to install from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
aabccd021 committed Sep 8, 2023
1 parent efa9757 commit 8ce951a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

HTML live reload for Bun

## Install
```
bun install git@github.com:aabccd021/bun-html-live-reload.git
## Installation

```sh
bun add -d bun-html-live-reload
```

## Getting Started
Expand All @@ -31,12 +32,6 @@ export default withHtmlLiveReload({
This plugin relies on response header to identify html file,
so don't forget to add `{ headers: { "Content-Type": "text/html" }, }` to your `Response`.

## Installation

```sh
bun add --development github:aabccd021/bun-html-live-reload
```

## Options

### `wsPath`
Expand Down

0 comments on commit 8ce951a

Please sign in to comment.