Skip to content

Commit d519060

Browse files
author
ouxuewen
committed
fix some format mistakes
1 parent 204f5a1 commit d519060

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/guide/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ order: 2
66

77
## Vue.js 是什么
88

9-
Vue.js(读音 /vjuː/, 类似于 **view**) 是一套构建用户界面的 **先进框架**。与其他单层框架( monolithic frameworks)不同的是,Vue 采用自底向上增量开发的设计。Vue 的核心库只关注视图层,并且非常容易学习,非常容易与其它库或已有项目整合。另一方面,Vue 完全有能力驱动采用[单文件组件](single-file-components.html)[Vue生态系统支持的库](//github.com/vuejs/awesome-vue#libraries--plugins)开发的复杂单页应用。
9+
Vue.js(读音 /vjuː/, 类似于 **view**) 是一套构建用户界面的 **先进框架**。与其他单层框架( monolithic frameworks)不同的是,Vue 采用自底向上增量开发的设计。Vue 的核心库只关注视图层,并且非常容易学习,非常容易与其它库或已有项目整合。另一方面,Vue 完全有能力驱动采用[单文件组件](single-file-components.html)[Vue生态系统支持的库](//github.com/vuejs/awesome-vue#libraries--plugins)开发的复杂单页应用。
1010

1111
Vue.js 的目标是通过尽可能简单的 API 实现**响应的数据绑定****组合的视图组件**
1212

@@ -283,7 +283,8 @@ Vue.component('todo', {
283283
<todo v-for="todo in todos" v-bind:todo="todo"></todo>
284284
</ol>
285285
</div>
286-
```
286+
```
287+
287288
``` js
288289
var app7 = new Vue({
289290
el: '#app-7',
@@ -316,7 +317,7 @@ var app7 = new Vue({
316317
</script>
317318
{% endraw %}
318319

319-
这只是一个人为的例子,但是我们已经将我们的应用分割成了两小的单元,子元素通过 `props` 接口实现了与父亲元素很好的解耦。我们现在可以在不影响到父应用的基础上,进一步为我们的 `todo` 组件改进更多复杂的模板和逻辑。
320+
这只是一个人为的例子,但是我们已经将我们的应用分割成了两个更小的单元,子元素通过 `props` 接口实现了与父亲元素很好的解耦。我们现在可以在不影响到父应用的基础上,进一步为我们的 `todo` 组件改进更多复杂的模板和逻辑。
320321

321322
在一个大型应用中,为了使得开发过程可控,有必要将应用整体分割成一个个的组件。在[后面的教程](/guide/components.html)中我们将详述组件,不过这里有一个(假想)的例子,看看使用了组件的应用模板是什么样的:
322323

src/guide/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ vm.$el.remove()
13841384
{% raw %}
13851385
<div class="upgrade-path">
13861386
<h4>升级方式</h4>
1387-
<p>运行 <a href="https://github.com/vuejs/vue-migration-helper">migration helper</a>找到<code>vm.$remove</code>.。如有遗漏,请参考<strong>控制台错误信息</strong>。</p>
1387+
<p>运行 <a href="https://github.com/vuejs/vue-migration-helper">migration helper</a>找到<code>vm.$remove</code>。如有遗漏,请参考<strong>控制台错误信息</strong>。</p>
13881388
</div>
13891389
{% endraw %}
13901390

0 commit comments

Comments
 (0)