Skip to content

Commit efd804b

Browse files
authored
fix: clarify how a Vue app works (#2490)
* fix: clarify how a Vue app works fixes #2475 * fix: simplify sentence * fix: remove unnecessary capitalization * fix: remove confusing wording
1 parent df72c7e commit efd804b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/v2/guide/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ var app = new Vue({
7373

7474
We have already created our very first Vue app! This looks pretty similar to rendering a string template, but Vue has done a lot of work under the hood. The data and the DOM are now linked, and everything is now **reactive**. How do we know? Open your browser's JavaScript console (right now, on this page) and set `app.message` to a different value. You should see the rendered example above update accordingly.
7575

76+
Note that we no longer have to interact with the HTML directly. A Vue app attaches itself to a single DOM element (`#app` in our case) then fully controls it. The HTML is our entry point, but everything else happens within the newly created Vue instance.
77+
7678
In addition to text interpolation, we can also bind element attributes like this:
7779

7880
``` html

0 commit comments

Comments
 (0)