Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 0db9ece

Browse files
author
Kerstens Maxim
authored
Merge pull request happyDemon#3 from hsorellana/master
Fixing typos
2 parents d1ac7d0 + f9c2e7b commit 0db9ece

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# vue-echo
22
Vue integration for the Laravel Echo library.
33

4-
This Vue plugin injects a Laravel Echo instance into all of you vue instances, allowing for a simple channel subscription on each instance, or using Laravel Echo through `this.$echo`.
4+
This Vue plugin injects a Laravel Echo instance into all of your vue instances, allowing for a simple channel subscription on each instance, or using Laravel Echo through `this.$echo`.
55

66
## Install
77

@@ -11,8 +11,8 @@ npm install vue-echo --save
1111

1212
## Usage
1313

14-
### Initialise
15-
First you'll need to register the plugin and optionally initialise the Echo instance.
14+
### Initialize
15+
First you'll need to register the plugin and, optionally, initialize the Echo instance.
1616

1717
``` js
1818
import VueEcho from 'vue-echo';
@@ -36,7 +36,7 @@ Vue.use(VueEcho, {
3636
```
3737

3838
### Using Echo
39-
Once vue-echo is registered, every vue instance is able to to subscribe to channels and listen to events through the `this.$echo` property on the connection you specified earlier.
39+
Once vue-echo is registered, every vue instance is able to subscribe to channels and listen to events through the `this.$echo` property on the connection you specified earlier.
4040

4141
```js
4242
var vm = new Vue({
@@ -68,12 +68,12 @@ var vm = new Vue({
6868

6969
#### Subscribing to channels
7070

71-
Laravel echo allows you to subscribe to; normal, private and presence channels.
71+
Laravel Echo allows you to subscribe to: normal, private and presence channels.
7272

73-
In the example above we subscribed to a standard channel.
73+
In the example above, we subscribed to a standard channel.
7474

7575
##### Private channel
76-
If you would like to subscribe to private channel instead, prefix your channel name with `private:`
76+
If you would like to subscribe to a private channel instead, prefix your channel name with `private:`
7777

7878
```js
7979
var vm = new Vue({

0 commit comments

Comments
 (0)