Skip to content

Commit

Permalink
Update README with instructions for building from the source
Browse files Browse the repository at this point in the history
  • Loading branch information
BehindTheMath committed Mar 4, 2019
1 parent 7940a6e commit 3b3f4d7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ _Pjax does not rely on other libraries, like jQuery or similar. It is written en
```
- Use a bundler like Webpack. (`index.js` cannot be used in the browser without a bundler).

- Or you can clone the repo and build the bundle from the source using npm:
```shell
git clone https://github.com/MoOx/pjax.git
cd pjax
npm install
npm run build
```
and then link a script tag to either `pjax.js` or `pjax.min.js`. E.g.:
```html
<script src="./pjax.min.js"></script>
```

---

## What Pjax Does
Expand Down

0 comments on commit 3b3f4d7

Please sign in to comment.