Skip to content

Commit 75c6576

Browse files
committed
Update installation instructions
1 parent 38f3636 commit 75c6576

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ It also supports templated links and partially loaded data from the API.
2727

2828
# Install
2929

30-
```shell
31-
$ npm install ecamp/hal-json-vuex#master
30+
```bash
31+
npm install hal-json-vuex
3232
```
3333

3434
# Usage
@@ -48,7 +48,7 @@ axios.defaults.baseURL = 'https://my-api.com/api'
4848
Vue.use(HalJsonVuex(store, axios))
4949
```
5050

51-
```
51+
```js
5252
// Use it in a computed or method or lifecycle hook of a Vue component
5353
let someEntity = this.api.get('/some/endpoint')
5454
this.api.reload(someEntity)

0 commit comments

Comments
 (0)