docs: update
This commit is contained in:
parent
e2b7b976cf
commit
fd9c3bd19d
6 changed files with 10 additions and 10 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<script src="//unpkg.com/docsify"></script>
|
||||
```
|
||||
|
||||
接着就可以愉快地在 Markdown 里写 Vue 了。默认会执行 `new Vue({ el: 'main' })` 创建示例。
|
||||
接着就可以愉快地在 Markdown 里写 Vue 了。默认会执行 `new Vue({ el: '#main' })` 创建示例。
|
||||
|
||||
*README.md*
|
||||
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
<script>
|
||||
new Vue({
|
||||
el: 'main',
|
||||
el: '#main',
|
||||
data: { msg: 'Vue' }
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue