8000 docs: improve grammar and phrasing for the English guide · PeachScript/vue-infinite-loading@bdb23f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit bdb23f0

Browse files
robin-macphersonPeachScript
authored andcommitted
docs: improve grammar and phrasing for the English guide
1 parent d79ea27 commit bdb23f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guide/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ previewLink: //jsfiddle.net/PeachScript/a4Lxbf9w/embedded/result/
77

88
### NPM
99

10-
If you are building large application now, recommend you use the way.
10+
If you are building a large application, we recommend you use the following method:
1111

1212
``` bash
1313
npm install vue-infinite-loading -S
1414
```
1515

1616
### Direct `<script>` Include
1717

18-
After you imported this plugin through `script` tag, it will register `InfiniteLoading` component automatically, so you can use it in global.
18+
After you import this plugin through the `script` tag, it will register the `InfiniteLoading` component automatically, so you can use it in the global scope.
1919

2020
#### CDN
2121

@@ -27,7 +27,7 @@ You can import this plugin from [unpkg](https://unpkg.com):
2727

2828
#### Manual
2929

30-
You also can download and import it manually:
30+
You can also download and import it manually:
3131

3232
<a target="_blank" href="https://github.com/PeachScript/vue-infinite-loading/raw/master/dist/vue-infinite-loading.js" class="button button-small button-basic">Download</a>
3333

@@ -55,7 +55,7 @@ export default {
5555

5656
### Plugin API
5757

58-
If you want to configure default options, you can register this plugin through `use` API of Vue.js:
58+
If you want to configure default options, you can register this plugin through the `use` API of Vue.js:
5959

6060
``` js
6161
// main.js or index.js
@@ -64,4 +64,4 @@ import InfiniteLoading from 'vue-infinite-loading';
6464
Vue.use(InfiniteLoading, { /* options */ });
6565
```
6666

67-
Same as the `script` include way, the `InfiniteLoading` component will be registered as a global component if use the plugin API, you don't need to re-register it through `components` property in your own components.
67+
If you use the plugin API, the `InfiniteLoading` component will be registered as a global component just like when including it with the `script` tag, but you won't need to re-register it through the `components` property in your own components.

0 commit comments

Comments
 (0)
0