Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

update mount-changes.md #733

Merged
merged 1 commit into from
Sep 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/guide/migration/mount-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ badges:

## 2.x 语法

在 Vue 2.x 中,我们传入一个 HTML 元素选择器到 `new Vue()` 或 `$mount`:
在 Vue 2.x 中,我们为 `new Vue()` 或 `$mount` 传入一个 HTML 元素选择器

```js
new Vue({
Expand Down Expand Up @@ -52,7 +52,7 @@ app.$mount('#app')
</body>
```

在渲染结果中,被提到的 `div` 将会被应用内容所替换
在渲染结果中,上面提及的 `div` 将会被应用所渲染的内容替换

```html
<body>
Expand Down