Skip to content

Commit d5572db

Browse files
Rachaelchrisvfritz
Rachael
authored andcommitted
Minor edits to improve readability (#1136)
* Minor edits to improve readability * Revert use of however in guide introduction
1 parent 11be89b commit d5572db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/v2/guide/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The easiest way to try out Vue.js is using the [JSFiddle Hello World example](ht
2020
<script src="https://unpkg.com/vue"></script>
2121
```
2222

23-
The [Installation](installation.html) page provides more options of installing Vue. Note that we **do not** recommend beginners to start with `vue-cli`, especially if you are not yet familiar with Node.js-based build tools.
23+
The [Installation](installation.html) page provides more options of installing Vue. Note: We **do not** recommend that beginners start with `vue-cli`, especially if you are not yet familiar with Node.js-based build tools.
2424

2525
## Declarative Rendering
2626

@@ -89,7 +89,7 @@ var app2 = new Vue({
8989
</script>
9090
{% endraw %}
9191

92-
Here we are encountering something new. The `v-bind` attribute you are seeing is called a **directive**. Directives are prefixed with `v-` to indicate that they are special attributes provided by Vue, and as you may have guessed, they apply special reactive behavior to the rendered DOM. Here it is basically saying "keep this element's `title` attribute up-to-date with the `message` property on the Vue instance."
92+
Here we are encountering something new. The `v-bind` attribute you are seeing is called a **directive**. Directives are prefixed with `v-` to indicate that they are special attributes provided by Vue, and as you may have guessed, they apply special reactive behavior to the rendered DOM. Here, it is basically saying "keep this element's `title` attribute up-to-date with the `message` property on the Vue instance."
9393

9494
If you open up your JavaScript console again and enter `app2.message = 'some new message'`, you'll once again see that the bound HTML - in this case the `title` attribute - has been updated.
9595

@@ -220,7 +220,7 @@ var app5 = new Vue({
220220
</script>
221221
{% endraw %}
222222

223-
Note in the method we simply update the state of our app without touching the DOM - all DOM manipulations are handled by Vue, and the code you write is focused on the underlying logic.
223+
Note that in this method we simply update the state of our app without touching the DOM - all DOM manipulations are handled by Vue, and the code you write is focused on the underlying logic.
224224

225225
Vue also provides the `v-model` directive that makes two-way binding between form input and app state a breeze:
226226

@@ -349,7 +349,7 @@ var app7 = new Vue({
349349
</script>
350350
{% endraw %}
351351

352-
This is just a contrived example, but we have managed to separate our app into two smaller units, and the child is reasonably well-decoupled from the parent via the props interface. We can now further improve our `<todo-item>` component with more complex template and logic without affecting the parent app.
352+
This is just a contrived example, but we have managed to separate our app into two smaller units, and the child is reasonably well-decoupled from the parent via the props interface. We can now further improve our `<todo-item>` component with a more complex template and logic without affecting the parent app.
353353

354354
In a large application, it is necessary to divide the whole app into components to make development manageable. We will talk a lot more about components [later in the guide](components.html), but here's an (imaginary) example of what an app's template might look like with components:
355355

0 commit comments

Comments
 (0)