docs: update

This commit is contained in:
qingwei.li 2017-02-18 19:36:28 +08:00 • committed by cinwell.li
commit fd9c3bd19d
6 changed files with 10 additions and 10 deletions

View file

@ -13,7 +13,7 @@ Load the Vue in `index.html`.
```
Then you can immediately write Vue code at Markdown file.
`new Vue({ el: 'main' })` script is executed by default to create instance.
`new Vue({ el: '#main' })` script is executed by default to create instance.
*README.md*
@ -44,7 +44,7 @@ You can manually initialize a Vue instance.
<script>
new Vue({
el: 'main',
el: '#main',
data: { msg: 'Vue' }
})
</script>