We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f3636 commit 75c6576Copy full SHA for 75c6576
README.md
@@ -27,8 +27,8 @@ It also supports templated links and partially loaded data from the API.
27
28
# Install
29
30
-```shell
31
-$ npm install ecamp/hal-json-vuex#master
+```bash
+npm install hal-json-vuex
32
```
33
34
# Usage
@@ -48,7 +48,7 @@ axios.defaults.baseURL = 'https://my-api.com/api'
48
Vue.use(HalJsonVuex(store, axios))
49
50
51
-```
+```js
52
// Use it in a computed or method or lifecycle hook of a Vue component
53
let someEntity = this.api.get('/some/endpoint')
54
this.api.reload(someEntity)
0 commit comments