Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 824a802

Browse files
docs(vuex): changes
1 parent 826ec36 commit 824a802

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/vuex.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ Vue.use(VueAnalytics, {
3535
})
3636

3737
new Vue({
38+
el: '#root',
39+
store,
3840
...
3941
})
4042
```
@@ -89,7 +91,7 @@ The way we can construct the track method is just by creating an array and the f
8991
* ecommerce
9092
* commands
9193

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

9496
```js
9597
export default {

0 commit comments

Comments
 (0)