Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
docs(vuex): changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoGabriele authored Feb 18, 2018
1 parent 826ec36 commit 824a802
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/vuex.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Vue.use(VueAnalytics, {
})

new Vue({
el: '#root',
store,
...
})
```
Expand Down Expand Up @@ -89,7 +91,7 @@ The way we can construct the track method is just by creating an array and the f
* ecommerce
* commands

the second parameter will be our data as usual constructed in a normal call, so if in a component we will have
the second parameter will be our data constructed the same way as we were inside a component, for example:

```js
export default {
Expand Down

0 comments on commit 824a802

Please sign in to comment.